Closed volkov closed 7 years ago
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"
{}
{"field":null}
After this fix both json are deserialized to empty object
👍
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.
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