Chromium Code Reviews
DescriptionChange analysis server protocol to omit empty lists when optional.
For object fields of type List that are marked as optional, FromJson
code automatically populates the data structure with an empty list
when the field is omitted. ToJson code automatically omits the field
when its value is an empty list.
R=brianwilkerson@google.com, scheglov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39507
Patch Set 1 #
Total comments: 5
Patch Set 2 : Only apply to lists that are already marked as optional. #Patch Set 3 : Simplify constructor invocations. #Patch Set 4 : Simplify constructor invocations. #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||