Skip to content

Null field from json deserialization fix - #37

Merged
scr merged 1 commit into
bivas:masterfrom
volkov:master
Feb 28, 2017
Merged

Null field from json deserialization fix#37
scr merged 1 commit into
bivas:masterfrom
volkov:master

Conversation

@volkov

Copy link
Copy Markdown
Contributor

At this moment deserialization from json differs in case when filed is omitted or equals to null.

{} deserializes to empty object when {"field":null} is deserialized to object with empty object for "field"

After this fix both json are deserialized to empty object

@scr

scr commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

👍

@scr

scr commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

Can you please add a note in https://github.com/bivas/protobuf-java-format/blob/master/RELEASE-NOTES.md - this is still manually generated - This would be a fix added in 1.5.

@scr
scr merged commit afb6662 into bivas:masterFeb 28, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@volkov@scr