An empty JSON tuple, which could be seen also as a terminator for a JSON tuple definition.
For all data structures recursively defined, this represents the "base case" of the recursive definition, the empty tuple which signals that no more elements needs to be expected. So it has a meaning used on its own, representing an empty tuple, but also can be used for ending a definition of a tuple with a syntax such as
The constructor method for a JSON tuple, creating a new tuple from this tuple prepending a new head element to it. Being an operator ending with ":", this method is right associative, allowing a syntax such as
The constructor method for a JSON tuple, creating a new tuple from this tuple prepending a new head element to it. Being an operator ending with ":", this method is right associative, allowing a syntax such as
val tuple = 0 #: true #: "hello" #: JsonNil
Value parameters
h
the new element to be prepended to this tuple, for creating a new tuple
Attributes
Returns
a new tuple with the new element prepended to this tuple