3 ms·
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.
by lufte 5y ago
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.
- WorldMaker 5y agoYes, 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. [1] https://github.com/danielyule/naya https://github.com/danielyule/naya