head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.8 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.6 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.4 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.2 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.3.0.8 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.6 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.10 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2; locks; strict; comment @# @; 1.5 date 2025.04.27.20.07.25; author wiz; state Exp; branches; next 1.4; commitid WmI80Rd64H3BdJSF; 1.4 date 2025.04.20.19.26.10; author wiz; state Exp; branches; next 1.3; commitid 4eB1jPEz75zsdPRF; 1.3 date 2024.06.17.09.32.13; author wiz; state Exp; branches; next 1.2; commitid 9YuD7DtRba9wNjeF; 1.2 date 2023.02.01.17.34.55; author jperkin; state Exp; branches; next 1.1; commitid m8GQgOnSV8juBQbE; 1.1 date 2022.12.28.20.18.21; author nikita; state Exp; branches; next ; commitid EgC5iCFAU7fBCm7E; desc @@ 1.5 log @nlohmann-json: add post-release patches from upstream Fixes build of openrct2. Bump PKGREVISION. @ text @$NetBSD: distinfo,v 1.4 2025/04/20 19:26:10 wiz Exp $ BLAKE2s (nlohmann-json-3.12.0.tar.gz) = 4a8f71416d89ed4e5442197e5705db4d3c1c5658e753400b2a65996623dbd0bc SHA512 (nlohmann-json-3.12.0.tar.gz) = 6cc1e86261f8fac21cc17a33da3b6b3c3cd5c116755651642af3c9e99bb3538fd42c1bd50397a77c8fb6821bc62d90e6b91bcdde77a78f58f2416c62fc53b97d Size (nlohmann-json-3.12.0.tar.gz) = 9678593 bytes SHA1 (patch-include_nlohmann_detail_conversions_from__json.hpp) = 3193edc36ab326a1de3bac7215dd530f2b867182 SHA1 (patch-include_nlohmann_detail_conversions_to__json.hpp) = b5d141e11b3f92c29ca70cd087cf376df166bb92 SHA1 (patch-single__include_nlohmann_json.hpp) = cf15a296dc9ddb85608ba1644721ec30143096e9 SHA1 (patch-tests_src_unit-deserialization.cpp) = 2fbec98b3b13b5a135bea5659f7fff78b8b0bcb3 SHA1 (patch-tests_src_unit-regression2.cpp) = 973156a2b09d3df8a2696272f532e1b66680ec37 SHA1 (patch-tests_src_unit-user__defined__input.cpp) = be8fed57b7c87507064f9b2d4f2d568ad79cfb00 @ 1.4 log @nlohmann-json: update to 3.12.0. - Impossible de read json file create with nlohmann::ordered\_json::dump - Error C2039 : 'json\_sax\_dom\_callback\_parser': is not a member of 'nlohmann::json\_abi\_v3\_11\_3::detail' - `json_fwd.hpp` don't define default template arguments for ordered\_map - new repo version seems stop create any the ingress-nginx controller with opentelemetry-cpp.git - Error converting to/from scoped enumerations - Default initialized iterators are not comparable - Bug json.exception.type\_error.302 - tests fail to build with clang-19 and libc++ due to unsupported `std::char_traits` - Brace-Initialization Fails with json::parse and Key Access on Linux - Crash when parsing nullptr - Namespace macros are not respected in many instances - ohos model to json string garbage characters - Missing newlines in deserialized string - Latest tag not available on NuGet - Invalid union access for get\_ref/get\_ptr with unsigned integer - /accesswallet - struct reflect json with error C2440 - Compiler error when using macro NLOHMANN\_DEFINE\_TYPE\_NON\_INTRUSIVE - Issue when dumping a vector of derived classes - whit std::wstring compile error - Inconsisten operator\[\] - json parse enclosing json object with \[\] - \[bug\] nlohmann::json constructor behaves improperly - parse OOM - Library Cannot Parse JSON File It Wrote - Unexpected Integer Conversion of JSON Values on ARM64 - Structure declared in natvis file template doesn't seem to match current structure of `basic_json<>` - A lot of EOT in json file - CVE-2024-34062 - CVE-2024-39689 - CVE-2024-5569 - CVE-2024-37891 - Tornado vulnerabilities - CVE-2024-35195 - CVE-2024-22195, CVE-2024-34064 - CVE-2024-3651 - CVE-2024-22190 - CVE-2024-39705 - Failing to read complex Unicode string embedded in JSON - Unable to parse JSON string from snake case to camel case - Crashes when I try to use ‘json::at\(\)’ on a properly structured, non null, and correctly constructed ‘.json’ file - JSON\_BuildTests fail when JSON\_DisableEnumSerialization is set to ON - JSON can't parse a simple data - json.exception.type\_error.302 - iteration\_proxy has limited usefulness in C++20 range views - Clone is long due to large history - Can't use nlohmann on Linux - CodeQL suppressions lack justification - \[json.exception.parse\_error.101\] parse error at line 1, column 4520: syntax error while parsing value - invalid string: forbidden character after backslash; last read: '".\? - Cannot unflatten json object - Json parsed from raw string does not interpret lists of objects like json parsed from file - natvis not updated to 3.11.3 - Wrong function name in documentation example - git ref got interpreted as number - Is float valid number been limited? - Crash when construct a new json object - gdb-pretty-print broken since m\_data added - Docs have incorrect info for `update()` - CBOR data cannot be decoded - Inconsistent behaviour of json construction using `std::initializer_list` - Assertion failed when accessing non-existing object with const json object - Validatable release artifacts are not sufficient for packaging \(trying to run tests\) - ordered json pointer corruption - Incorrect floating point parsing - Segfault on parse when using "\#pragma pack \(push, 1\)" - Simple example with nlohmann::ordered\_json doesn't compile - Program crashes with ordered\_json, but works fine with json - JSON parses as array when assigned in initializer list. - Can't run `make amalgamate` - Parsing the unicode string got the wrong result - Issue with including \ - Exception when trying to insert my json object inside json file - `to_json` is erroneously converting enums with underlying unsigned types to signed numbers - Build failure on macOS Sonoma 14.1.1 - Deprecation warning on save action in check-amalgamation CI step - 3.11.3: test suite fails in 4 units - Exception thrown when dumping utf-8 characters when using std::string - patch\_inplace assumes StringType is std::string - Getting a weak-vtables warning with clang on ubuntu 22.04 - SAX interface unexpectedly gets locale-altered float representation. - Feat: hash pin github workflow dependencies - compiler error using clang-16.0.5 when using gcc-13.1 standard library - Missing requirement on `plantuml` binary package - Compile failure for macos 10.10 SDK + darwin14 - Test suite does not compile with C++20 and Clang 17 - `modernize-avoid-c-arrays` clang-tidy warning when using `NLOHMANN_JSON_SERIALIZE_ENUM` macro - JSON\_DIAGNOSTICS trigger assertion - Compiler warning 'array-bounds' on g++12.2.0 on Ubuntu 22.10 kinetic with RelWithDebugInfo - The MSVC team recently test JSON project failed to run test on release configuration on windows\_x64. - Bad JSON diff when removing object in array of object - Limit AppVeyor use - pkgconfig integration wrongly rendered if tests are run - Compile error for json in template and variadic macros. - How to Serialize derived class to JSON object? - \[C++17\] Allow std::optional to convert to nlohmann::json - Fix typo in nlohmann\_define\_derived\_type.md - Add ONLY\_SERIALIZE for NLOHMANN\_DEFINE\_DERIVED\_TYPE\_\* macros - Suppress modernize-use-integer-sign-comparison - Bump actions/upload-artifact from 4.4.3 to 4.5.0 - Clean up CI - \[StepSecurity\] ci: Harden GitHub Actions - Fix token permissions warnings - Add step to build the documentation - Bump mkdocs-material from 9.5.48 to 9.5.49 in /docs/mkdocs - Move reuse dependency to requirements.txt file - Clean up - ⬆️ Bump ossf/scorecard-action from 2.3.3 to 2.4.0 - ⬆️ Bump lukka/get-cmake from 3.31.0 to 3.31.2 - ⬆️ Bump github/codeql-action from 2.27.9 to 3.27.9 - ⬆️ Bump watchdog from 2.1.7 to 6.0.0 in /tools/serve\_header - ⬆️ Bump pyyaml from 6.0 to 6.0.2 in /tools/serve\_header - ⬆️ Bump actions/github-script from 6.4.0 to 7.0.1 - \[StepSecurity\] Apply security best practices - Set parents after insert call - Allow patch and diff to be used with arbitrary string types - Add more package managers - Replace EOF with char\_traits - Fix return value of get\_ptr for unsigned integers - Add more GCC warning flags - Update licenses - json start/end position implementation - Overwork documentation - Allow comparing default initialized iterators - fix: integer parsed as float when EINTR set in errno - Make SAX output locale-independent - Skip enum tests when JSON\_DisableEnumSerialization=ON - Fix weak-vtables warning - Suppress warnings in NLOHMANN\_JSON\_SERIALIZE\_ENUM - Add comment for \#4494 - Add test for libstdc++ - Another desperate try to fix the CI - Possible fix for \#4485 - Update CONTRIBUTING.md - Allow overriding the CMake target name - Update is\_structured.md - Add CPack support - CMake: generate a pkg-config file that follow pkg-config conventions - Update natvis to reflect 3.11.3 and the current structure of basic\_json - Docs: fix typos of 'whether' in `operator_{gt,le,lt}.md` - Remove alwayslink=True Bazel flag - Optimize binary `get_number` implementation by reading multiple bytes at once - Make iterator\_proxy\_value a forward\_iterator \(\#4371\) - Add lgtm explanation - chore: fix some typos in comments - Fix gdb pretty printer - Fix for incorrect function name in documentation example - Fixed an error in the `Custom data source` example. - Updated exception handling to catch const reference in out\_of\_range - \#4307 Updated docx to 3.10.5 from 3.10.4 - Align astyle flags in Makefile with CI - Suppress Clang-Tidy warnings - Remove broken link from CONTRIBUTING.md - Fix version in json\_has\_static\_rtti.md - Add support of multi-dim C-style array member of struct. - Docs: Fix wrong code usage in the Value access section of `json_pointer.md` - Fix `to_json` for enums when the enum has an unsigned underlying type. - feat: Rebase `feature/optional` to `develop` - Add NLOHMANN\_DEFINE\_DERIVED\_TYPE\_\* macros @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2024/06/17 09:32:13 wiz Exp $ d6 6 @ 1.3 log @nlohmann-json: update to 3.11.3. This release fixes some bugs found in the 3.11.2 release. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2023/02/01 17:34:55 jperkin Exp $ d3 3 a5 3 BLAKE2s (nlohmann-json-3.11.3.tar.gz) = b42276535bbf87e54a1af8ab4ff18316b56bf25d8ab4cbaf97d4ac363ab0e78c SHA512 (nlohmann-json-3.11.3.tar.gz) = 7df19b621de34f08d5d5c0a25e8225975980841ef2e48536abcf22526ed7fb99f88ad954a2cb823115db59ccc88d1dbe74fe6c281b5644b976b33fb78db9d717 Size (nlohmann-json-3.11.3.tar.gz) = 8053705 bytes @ 1.2 log @nlohmann-json: Avoid ambiguous function call. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2022/12/28 20:18:21 nikita Exp $ d3 3 a5 4 BLAKE2s (nlohmann-json-3.11.2.tar.gz) = c5caa9520466579cdee11e0831375f974b1be581ce764a41fc15979cd779aaba SHA512 (nlohmann-json-3.11.2.tar.gz) = 70097c9bcd7a91254acbd41b8b68a6aaa371fc2dd7011f472917f69f1e2d2986155a0339dad791699d542e4a3be44dc49ae72ff73d0ee0ea4b34183296ce19a0 Size (nlohmann-json-3.11.2.tar.gz) = 8097673 bytes SHA1 (patch-tests_thirdparty_doctest_doctest.h) = c0d7e0d754e61c7670db8a392ad53fd46f95ff3c @ 1.1 log @nlohmann-json: Import as textproc/nlohmann-json version 3.11.2 import from wip, packaged by K.I.A.Derouiche and Adam Ciarciński. JSON for Modern C++ is an open-source library consisting of a C++11-style header-only JSON class. Its stated goals are: Intuitive syntax. In languages such as Python, JSON feels like a first class data type. We used all the operator magic of modern C++ to achieve the same feeling in your code. Trivial integration. Our whole code consists of a single header file json.hpp. The class is written in vanilla C++11. All in all, everything should require no adjustment of your compiler flags or project settings. Serious testing. Our code is heavily unit-tested and covers 100% of the code, including all exceptional behavior. Furthermore, we checked with Valgrind and the Clang Sanitizers that there are no memory leaks. Google OSS-Fuzz additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far. To maintain high quality, the project is following the Core Infrastructure Initiative (CII) best practices. Other aspects were not so important to us: Memory efficiency. Each JSON object has an overhead of one pointer (the maximal size of a union) and one enumeration element (1 byte). The default generalization uses the following C++ data types: std::string for strings, int64_t, uint64_t or double for numbers, std::map for objects, std::vector for arrays, and bool for Booleans. However, you can template the generalized class basic_json to your needs. Speed. There are certainly faster JSON libraries out there. However, if your goal is to speed up your development by adding JSON support with a single header, then this library is the way to go. If you know how to use a std::vector or std::map, you are already set. @ text @d1 1 a1 1 $NetBSD$ d6 1 @