Commit Graph

9 Commits

Author SHA1 Message Date
wangmy 5bfa82d102 nlohmann-json: upgrade 3.9.1 -> 3.10.2
Release date: 2021-08-26
SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp)
61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip)

Summary
This release is made days after the 3.10.1 release due to a bug in the release script:
The 3.10.1 release at GitHub contained the correct files,
but the associated tag v3.10.1 points to the wrong commit.
This release is made with a fixed build script. All changes are backward-compatible.

Improvements
Fix the release scripts to correctly tag releases. https://github.com/nlohmann/json/issues/2973
Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake.
https://github.com/nlohmann/json/issues/2975
https://github.com/nlohmann/json/pull/2976

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}).

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-05 22:19:55 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Zang Ruochen 5f816c126a nlohmann-json: upgrade 3.9.0 -> 3.9.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-21 16:35:25 -07:00
Zang Ruochen f60ca848f4 nlohmann-json: upgrade 3.7.3 -> 3.9.0
-License-Update: Copyright year updated to 2020.

-0001-Templatize-basic_json-ctor-from-json_ref.patch
-0001-typo-fix.patch
Removed since these are included in 3.9.0

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:53 -07:00
Andrew Geissler 12b707c52d nlohmann-json: backport gcc10 fix
The following issue and PR describe an issue with nlohmann-json and
GCC10.

https://github.com/nlohmann/json/issues/1920
https://github.com/nlohmann/json/pull/2034

Confirmed that this fixed the issue seen in OpenBMC when pulling in the
latest upstream meta-openembedded.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-17 10:23:33 -07:00
Khem Raj 110652d951 nlohmann-json: Upgrade to 3.7.3
Rename recipe to express PV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-16 19:50:07 -08:00
David Roman 95d95dcb10 nlohmann-json: upgrade 3.3.0 -> 3.7.0 2019-10-25 10:29:52 -07:00
James Feist 69e5fa1485 nlohmann-json: Add symlink to json.hpp and update to 3.3.0
nlohmann-json has examples in their repo that refer to
the header as json.hpp directly, as such many packages
that require nlohmann-json expect json.hpp and not
nlohmann/json.hpp as the cmake file installs. Create symlink
so that access is available by either option. Also update
to release 3.3.0.

Signed-off-by: James Feist <james.feist@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-11 13:52:06 -07:00
James Feist 126f046247 nlohmann-json: Add recipe
nlohmann-json is a c++ header-only json library.

Signed-off-by: James Feist <james.feist@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 20:00:52 -07:00