MyGit

v3.10.5

nlohmann/json

版本发布时间: 2022-01-03 13:41:00

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

Release date: 2022-01-03 SHA-256: e832d339d9e0c042e7dff807754769d778cf5d6ae9730ce21eed56de99cb5e86 (json.hpp), b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e (include.zip)

Summary

The previous version 3.10.4 introduced support to convert std::filesystem objects to JSON and vice versa. Unfortunately, we made the assumption that any compiler supporting C++17 would also have proper filesystem support. This was a mistake. This release introduces preprocessor checks (and means to override them) to make sure that the conversion support is only compiled if the compiler is detected to support it.

All changes are backward-compatible.

:moneybag: Note you can support this project via GitHub sponsors or PayPal.

:bug: Bug fixes

Warnings

:zap: Improvements

:hammer: Further Changes

Tests and CI

Documentation

:fire: Deprecated functions

Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}).

The following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0):

All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead.

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

1、 include.zip 254.57KB

2、 include.zip.asc 833B

3、 json.hpp 785.28KB

4、 json.hpp.asc 833B

5、 json.tar.xz 97.5KB

查看:2022-01-03发行的版本