logoalt Hacker News

wewtyflakesyesterday at 5:48 PM1 replyview on HN

The root of a JSON document can also be an array.


Replies

svieirayesterday at 5:58 PM

Or the boolean `true`, or the empty string `""`, or `null`. JSON allows bare "value"s as the root element. https://www.json.org/json-en.html