📜 ⬆️ ⬇️

Streaming JSON-parser YAJL

In connection with the recent need to work with data in JSON-format, I decided to investigate the issue of existing libraries for working with JSON for C / C ++. . At the moment there are more or less large number of them. Here is a list from json.org ( http://www.json.org ): The main requirements that I put forward for the required library:At first I considered cJSON ( http://sourceforge.net/projects/cjson ), but it turned out that it parses the entire document into memory (although it does so with its minimum consumption and quickly enough). As a result, I stopped at yajl ( http://lloyd.github.com/yajl ) - I need to say the only JSON stream parser. Some facts about yajl:And a few words in conclusion:

')

Source: https://habr.com/ru/post/110603/


All Articles