TOC Prev Next

JSON Sugar and other Goodness

Commas are Still Required in Lists

Commas are still required as separators in lists. The last element of a list may also have a comma.

commas2.cue:

[
    1,
    2,
    3,
]

$ cue export commas2.cue

[
    1,
    2,
    3
]