Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omitNullValues behaviour #11

Open
mscholl opened this issue Nov 19, 2013 · 0 comments
Open

omitNullValues behaviour #11

mscholl opened this issue Nov 19, 2013 · 0 comments
Labels

Comments

@mscholl
Copy link
Member

mscholl commented Nov 19, 2013

The current behaviour of the "omitNullValues=true" parameter is the removal of all properties whose value are null. However, null values within arrays will not be removed.

E.g.

{
"nil":null,
"arr":[1,2,3,null,5]
}

will result in

{
"arr":[1,2,3,null,5]
}

and NOT in

{
"arr":[1,2,3,5]
}

Is this the desired behaviour? IMO it is!

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

No branches or pull requests

1 participant