Sorted Maps

Abstract TypeElementsContainer TypeMarkerDerivationDistinctSorted
sorted-mapkey-value pairsobject[{][#]yesyes

Example

JSON Snippet

{ 
	"x":"y", 
	"x":"y",
	"a":"c", 
	"a":"b" 
}

Carbon Encoding

A (compacted) Carbon sorted-map for the JSON snippet from above, encoding the JSON object with the base type object holding two string properties (assuming "a":"c" was added after "a":"b").

[#] 
	(1)[a] [s](1)[c]	
	(1)[x] [s](1)[y]
[}]