Objects
Object value syntax — open and closed objects, keyed and unkeyed values.
Syntax
Closed object
object = "{" [ objectEntries ] "}"
objectEntries = entry *( "," entry )
entry = keyedValue | unkeyedValue
keyedValue = key ":" value
unkeyedValue = value
key = string
value = any valid Internet Object valueOpen object
Structural characters
Symbol
Name
Unicode
Description
Valid forms
Open object with unkeyed and keyed values (any order)
Closed object with mixed values
Fully keyed object
Keys as strings (quoted forms)
JSON-compatible object
Invalid forms
Optional behaviors
Whitespace and formatting
Empty objects
Empty values
Trailing commas
Comments
Access semantics
Preservation of structure
See Also
Last updated
Was this helpful?
