Array: Difference between revisions

Content added Content deleted
(→‎Immutability: [][m] = null)
Line 91: Line 91:
[ S ]
[ S ]
</lang>
</lang>
For example, if S is the stream (1,2,3), then [1,2,3] is the corresponding array. That is, [(1,2,3)] == [1,2,3].
For example, if S is the stream (1,2,3), then [(1,2,3)] == [1,2,3].


This highlights an important point about "," in jq: the comma is not merely a syntactic marker but an operator.
This highlights an important point about "," in jq: the comma is not merely a syntactic marker but an operator.