[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: On JSON parsers
- From: Charles Heywood <vandor2012@...>
- Date: Mon, 31 Oct 2016 03:55:24 +0000
This is about as common as INI, YAML, TOML, SQL, and just about literally every configuration or data storage language. Usually the best way to write using these formats is know your environment and use as little implementation-specific code as possible. Nice read tho.
An interesting work on checking the compliance and compatibility of
JSON parsers:
http://seriot.ch/parsing_json.html
The author wrote a test suite comparing 34 different JSON parser
implementations in several languages (there are two Lua
implementations there, Jeffrey Friedl's and lua-dkjson) and found out
that there are no two alike.
This reminded me of the complaint given a few times about the Lua
module ecosystem having "too many JSON parsers" or something like
that, so I thought it would be interesting to share it here. :)
-- Hisham
--