Marcel van Lohuizen | 75cb003 | 2019-01-11 12:10:48 +0100 | [diff] [blame] | 1 | [TOC](Readme.md) [Prev](commas.md) [Next](curly.md) |
| 2 | |
Marcel van Lohuizen | af0932f | 2019-01-11 13:03:56 +0100 | [diff] [blame] | 3 | _JSON Sugar and other Goodness_ |
| 4 | |
Marcel van Lohuizen | 75cb003 | 2019-01-11 12:10:48 +0100 | [diff] [blame] | 5 | # Commas are Still Required in Lists |
| 6 | |
| 7 | |
| 8 | Commas are still required as separators in lists. |
| 9 | The last element of a list may also have a comma. |
| 10 | |
| 11 | <!-- CUE editor --> |
| 12 | ``` |
| 13 | [ |
| 14 | 1, |
| 15 | 2, |
| 16 | 3, |
| 17 | ] |
| 18 | ``` |
| 19 | |
| 20 | <!-- JSON result --> |
| 21 | ```json |
| 22 | [ |
| 23 | 1, |
| 24 | 2, |
| 25 | 3 |
| 26 | ] |
| 27 | ``` |