MyGit

v3.2.0

nlohmann/json

版本发布时间: 2018-08-21 01:51:05

nlohmann/json最新发布版本:v3.11.3(2023-11-29 05:38:09)

Release date: 2018-08-20 SHA-256: ce6b5610a051ec6795fa11c33854abebb086f0fd67c311f5921c3c07f9531b44 (json.hpp), 35ee642558b90e2f9bc758995c4788c4b4d4dec54eef95fb8f38cb4d49c8fc7c (include.zip)

Summary

This release introduces a SAX interface to the library. While this may be a very special feature used by only few people, it allowed to unify all functions that consumed input and created some kind of JSON value. Internally, now all existing functions like parse, accept, from_cbor, from_msgpack, and from_ubjson use the SAX interface with different event processors. This allowed to separate the input processing from the value generation. Furthermore, throwing an exception in case of a parse error is now optional and up to the event processor. Finally, the JSON parser is now non-recursive (meaning it does not use the call stack, but std::vector<bool> to track the hierarchy of structured values) which allows to process nested input more efficiently.

Furthermore, the library finally is able to parse from wide string types. This is the first step toward opening the library from UTF-8 to UTF-16 and UTF-32.

This release further fixes several bugs in the library. All changes are backward-compatible.

:sparkles: New Features

:bug: Bug Fixes

:zap: Improvements

:hammer: Further Changes

:fire: Deprecated functions

This release does not deprecate any functions. As an overview, the following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0):

相关地址:原始地址 下载(tar) 下载(zip)

1、 include.zip 123.87KB

2、 include.zip.asc 833B

3、 json.hpp 635.8KB

4、 json.hpp.asc 833B

查看:2018-08-21发行的版本