Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

json array containing nulls deserialization bug #454

Merged
merged 2 commits into from
Jun 7, 2015
Merged

Conversation

maximmass
Copy link

Allowing deserialization of object arrays when some of the objects are null but the first one is not null.

This worked:

{
    "items": [
        null,
        {
            "Item": "myitem"
        }       
    ]
}

This threw a null reference exception

{
    "items": [
        {
            "Item": "myitem"
        },
        null
    ]
}

Maxim Mass and others added 2 commits May 25, 2015 23:54
mythz added a commit that referenced this pull request Jun 7, 2015
json array containing nulls deserialization bug
@mythz mythz merged commit 83bf454 into ServiceStack:v3 Jun 7, 2015
@mythz
Copy link
Member

mythz commented Jun 7, 2015

Cheers 👍

@maximmass
Copy link
Author

@mythz thanks for merging this quick fix. Any chance we can get a new v3 nuget package published? We'd prefer to not maintain our own nuget of this.

@mythz
Copy link
Member

mythz commented Jun 8, 2015

No we're no longer building, distributing or supporting v3 NuGet packages. You'll need to use your own v3 builds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants