Interesting. I don't know of any similar option in Python's json module, which is the one that I mostly use, but good to know this exists.
Re:Time to retire the CSV?
by WorldMaker on Thursday August 19, 2021 @01:11PM
(#28236474)
Yes, Python's bundled json module does not support that style of parsing. I saw several suggestions in a quick search to try NAYA [1] if you need that in Python (it's a no dependency Python 3 library) or one of the C-backed wrapper libraries NAYA mentions at the bottom of its Readme if you can afford native dependencies.
JSON.Parse() in the browser isn't that sort of parser obviously, but there options in many languages such as both major .NET JSON libraries (Newtonsoft and System.Text.Json) have ways to parse that way. Similar examples exist in other languages too.