File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,7 +378,9 @@ is correctly produced when using the {CollectFields()} algorithm.
378378
379379Response serialization formats capable of representing ordered maps should
380380maintain this ordering. Serialization formats which can only represent unordered
381- maps should retain this order grammatically (such as JSON).
381+ maps (such as JSON) should retain this order textually. That is, if two fields
382+ ` {foo, bar} ` were queried in that order, the resulting JSON serialization
383+ should contain ` {"foo": "...", "bar": "..."} ` in the same order.
382384
383385Producing a response where fields are represented in the same order in which
384386they appear in the request improves human readability during debugging and
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ representations of the following four primitives:
2323
2424Serialization formats which can represent an ordered map should preserve the
2525order of requested fields as defined by {CollectFields()} in the Execution
26- section. Serialization formats which can only represent unordered maps should
27- retain this order grammatically (such as JSON).
26+ section. Serialization formats which can only represent unordered maps
27+ (such as JSON) should retain this order textually. That is, if two fields
28+ ` {foo, bar} ` were queried in that order, the resulting JSON serialization
29+ should contain ` {"foo": "...", "bar": "..."} ` in the same order.
2830
2931Producing a response where fields are represented in the same order in which
3032they appear in the request improves human readability during debugging and
You can’t perform that action at this time.
0 commit comments