1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-21 19:23:03 +04:00

Commit Graph

  • 45c47ef921 Avoid deep recursion in serialization write-buffer test claude/dump-function-performance-hcj2bl Niels Lohmann 2026-07-21 07:27:08 +00:00
  • bb4c522858 Flush serializer buffer in dump_escaped unit test Niels Lohmann 2026-07-20 23:33:36 +00:00
  • ebb3abba41 Devirtualize binary_writer via a value-type output sink claude/binary-writer-output-sinks Niels Lohmann 2026-07-20 23:27:51 +00:00
  • 95662c8b0c Buffer serializer output and add ensure_ascii string fast path Niels Lohmann 2026-07-20 22:43:26 +00:00
  • 32c2b317af Add SWAR bulk fast path to string serialization (dump_escaped) Niels Lohmann 2026-07-20 21:11:02 +00:00
  • 41833047cc Guard <charconv> include with __has_include for GCC 7 claude/parser-performance-research-4hkdf8 Niels Lohmann 2026-07-20 22:51:03 +00:00
  • 0d5b70a95a Disable Clinger float fast path under extended FP precision (x87) Niels Lohmann 2026-07-20 20:49:27 +00:00
  • 3565f40229 reject negative UBJSON/BJData string length (#5284) develop Angadi56 2026-07-21 02:02:38 +05:30
  • 0c91bbc4ba Guard from_chars use on JSON_HAS_CPP_17, not just __cpp_lib_to_chars Niels Lohmann 2026-07-20 20:03:57 +00:00
  • 2aa570f8f3 Use std::from_chars (Eisel-Lemire) for float conversion when available Niels Lohmann 2026-07-20 19:43:31 +00:00
  • 4b9fc0ad76 Satisfy clang-tidy: parenthesize math and drop unused forwarding reference Niels Lohmann 2026-07-20 19:00:24 +00:00
  • 41c4589c0a Fix number fast path for custom string types without assign() Niels Lohmann 2026-07-20 10:15:29 +00:00
  • 66bf78819f Fix clang-tidy findings and document JSON_USE_SIMDUTF in the nav Niels Lohmann 2026-07-20 10:09:24 +00:00
  • 032d90a5ac Move byte-level scan/parse helpers out of lexer.hpp Niels Lohmann 2026-07-20 10:02:19 +00:00
  • 84939c11be Add a contiguous fast path for scanning numbers Niels Lohmann 2026-07-20 09:51:17 +00:00
  • 190f4b6a7b Add optional simdutf backend for bulk UTF-8 validation (JSON_USE_SIMDUTF) Niels Lohmann 2026-07-20 09:51:17 +00:00
  • fb3dd97306 Route contiguous byte containers through the pointer adapter (fast paths in C++11) Niels Lohmann 2026-07-20 09:51:17 +00:00
  • baa1cdba04 Validate UTF-8 in the bulk string scanner (portable ~2-3x on non-ASCII text) Niels Lohmann 2026-07-20 09:51:16 +00:00
  • 21be583c79 Add SWAR bulk string scanning for contiguous input (simdjson-style) Niels Lohmann 2026-07-20 09:51:16 +00:00
  • 7f88e8f3a1 Speed up number parsing in the lexer (fast paths from the fast_float/simdjson world) Niels Lohmann 2026-07-20 09:51:16 +00:00
  • be6aff968a verify full indentation runs stay intact after resize fix-indent_string-resize Claude 2026-07-19 18:39:26 +00:00
  • 1c5a953de5 reject unpaired UTF-16 surrogates in wide-string input (#5276) Angadi56 2026-07-19 22:03:42 +05:30
  • a03e65420c ⬆️ Bump the codeql-action group with 4 updates (#5275) dependabot[bot] 2026-07-18 13:59:20 +02:00
  • d6ede37088 ⬆️ Bump actions/stale from 10.3.0 to 10.4.0 (#5277) dependabot[bot] 2026-07-18 13:58:45 +02:00
  • ff9a03237d deploy: c197feff81 gh-pages nlohmann 2026-07-12 07:18:58 +00:00
  • 722c03495f Extend std::optional null regression coverage (assignment, get_to) (#5269) Niels Lohmann 2026-07-12 09:16:25 +02:00
  • c197feff81 Extend memcpy fast path to sized sentinels (e.g. std::counted_iterator) (#5268) Niels Lohmann 2026-07-12 09:16:06 +02:00
  • 4dcd45b26d Fix clang-tidy misc-const-correctness in unit-udt_macro.cpp claude/todo-49-fix-bd32cc Niels Lohmann 2026-07-12 06:28:18 +00:00
  • 1342982e7d deploy: b2b47c69b1 nlohmann 2026-07-12 00:47:52 +00:00
  • 48e99f4145 deploy: 6a406ee141 nlohmann 2026-07-12 00:09:57 +00:00
  • b2b47c69b1 📝 Document std::pair/std::tuple conversion and C++20 range-view construction (#5271) Niels Lohmann 2026-07-11 23:58:49 +02:00
  • 6a406ee141 Document that JSON_Diagnostics CMake option doesn't apply to pre-installed packages (#5270) Niels Lohmann 2026-07-11 23:58:18 +02:00
  • 9d83673263 Fix CI failures in zero-member NLOHMANN_DEFINE_TYPE_* macros Niels Lohmann 2026-07-11 23:55:43 +02:00
  • a27065bd12 Regenerate api_surface.json after merging develop claude/todo-191-plan-508110 Niels Lohmann 2026-07-11 23:45:46 +02:00
  • 3940f4b730 Merge remote-tracking branch 'origin/develop' into claude/todo-191-plan-508110 Niels Lohmann 2026-07-11 23:43:30 +02:00
  • d969eef216 Support zero-member types in NLOHMANN_DEFINE_TYPE_* macros (#4041) Niels Lohmann 2026-07-11 19:55:56 +02:00
  • 0663907b68 Fix cross-environment API-surface drift and lint findings from CI Niels Lohmann 2026-07-11 18:59:19 +02:00
  • f23b3c63a2 Add AST-based public API checker and fix documentation gaps it found (#3691) Niels Lohmann 2026-07-11 15:14:06 +02:00
  • 0e03ecee10 Extend memcpy fast path to sized sentinels (e.g. std::counted_iterator) claude/todo-183-plan-267c0c Niels Lohmann 2026-07-11 16:25:57 +02:00
  • 483310ef04 deploy: ca76c37650 nlohmann 2026-07-11 13:21:47 +00:00
  • 0a9a593da9 deploy: fe2bcc080f nlohmann 2026-07-11 13:10:29 +00:00
  • ca76c37650 Add iterator+sentinel tests and docs for binary deserializers (#5265) Niels Lohmann 2026-07-11 15:09:28 +02:00
  • fe2bcc080f Custom BinaryType direct assignment (#5266) Niels Lohmann 2026-07-11 15:09:05 +02:00
  • d23806a327 Fix clang-tidy misc-const-correctness in heterogeneous sentinel test Niels Lohmann 2026-07-11 10:05:12 +02:00
  • c60217e801 fix: support constructing json from C++20 range views (#4916) (#5205) Federico Sfriso 2026-07-11 09:13:04 +02:00
  • fa9741f0ce Fix clang-tidy hicpp-named-parameter and misc-const-correctness Niels Lohmann 2026-07-11 00:10:23 +02:00
  • da95d1184e Fix -Wunneeded-internal-declaration for CustomSentinel in test Niels Lohmann 2026-07-10 23:25:21 +02:00
  • 146e5e0bc7 Merge iterator+sentinel overloads and fix ambiguity/CI issues Niels Lohmann 2026-07-10 23:15:17 +02:00
  • 2269656bc6 Add iterator+sentinel tests and docs for binary deserializers Niels Lohmann 2026-07-10 19:43:05 +02:00
  • 9c5d766c77 deploy: 6ba332c7df nlohmann 2026-07-10 14:13:13 +00:00
  • 6ba332c7df Migrate remaining CI jobs off custom json-ci image to official images (#5263) Niels Lohmann 2026-07-10 16:11:41 +02:00
  • 7bc7ca0e06 deploy: e9c3985f0a nlohmann 2026-07-10 14:08:26 +00:00
  • e9c3985f0a Fix documentation gaps found in a full GitHub Discussions review (#5264) Niels Lohmann 2026-07-10 16:01:08 +02:00
  • e86d443881 deploy: b630f5e9c7 nlohmann 2026-07-10 13:03:42 +00:00
  • b630f5e9c7 Fix container input_adapter SFINAE for lvalue-only ADL begin/end (#5260) Niels Lohmann 2026-07-10 13:56:06 +02:00
  • 10d18792bd Simplify number_float hash case: reuse existing type tag claude/github-issue-review-b531d3 Niels Lohmann 2026-07-10 13:00:37 +02:00
  • 8557b661ab Fix MSVC C4127 warning-as-error in is_exactly_representable_as_float Niels Lohmann 2026-07-10 07:37:26 +02:00
  • 48face7a20 Fix clang-tidy style and regenerate amalgamation Niels Lohmann 2026-07-10 06:41:38 +02:00
  • d2962f1fff deploy: 4d8e7a7210 nlohmann 2026-07-09 22:51:06 +00:00
  • 4d8e7a7210 💚 fix build Niels Lohmann 2026-07-09 23:05:56 +02:00
  • 68c87ad9de Fix std::hash contract violation for numeric types Niels Lohmann 2026-07-09 21:12:31 +02:00
  • 75e8fbac32 Documentation review: fix stale version-history placeholder in operator_ne.md (#5261) Niels Lohmann 2026-07-09 20:57:41 +02:00
  • 631e667fe5 Document a duplicate-object-key rejection recipe (#5259) Niels Lohmann 2026-07-09 20:39:59 +02:00
  • d0a43141ea Fix #3868: Remove operator!= to enable P2468R2 rewritten candidate synthesis (#5253) Niels Lohmann 2026-07-09 20:38:39 +02:00
  • ecff144b3a 📝 Document nvcc CUDA 12.0/12.1 JSON_HAS_RANGES exclusion (#5258) Niels Lohmann 2026-07-09 20:19:22 +02:00
  • 855f511db4 Fix stale Clang -Weverything suppression comments; drop -Wno-missing-noreturn (#5250) Niels Lohmann 2026-07-09 20:18:28 +02:00
  • ee18d823cf deploy: d0de6a9111 nlohmann 2026-07-09 17:20:06 +00:00
  • cb2fdb38a4 deploy: f8e99e856c nlohmann 2026-07-09 17:05:10 +00:00
  • d0de6a9111 Document std::optional<T> direct construction limitation (#5247) Niels Lohmann 2026-07-09 19:03:49 +02:00
  • f8e99e856c Fix nvcc CUDA 12.0/12.1 C++20 ranges parse error (#3907) (#5248) Niels Lohmann 2026-07-09 19:02:36 +02:00
  • c9c3d3de86 deploy: 521a084827 nlohmann 2026-07-09 16:04:09 +00:00
  • a72084fa16 deploy: ca91678af1 nlohmann 2026-07-09 15:25:36 +00:00
  • 521a084827 Documentation review (#5257) Niels Lohmann 2026-07-09 17:24:19 +02:00
  • ca91678af1 Document compiler/stdlib exclusions in macro_scope.hpp (#5252) Niels Lohmann 2026-07-09 17:15:57 +02:00
  • ff34a3fd2f Fix flaky ci_nvhpc job: pin nvc++ target to generic baseline (-tp=px) (#5254) Niels Lohmann 2026-07-09 15:16:28 +02:00
  • cb1c51b1d0 deploy: fe0299545a nlohmann 2026-07-09 04:52:37 +00:00
  • fe0299545a 📝 Document cross-basic_json conversion limitation (#3425) (#5249) Niels Lohmann 2026-07-09 06:44:51 +02:00
  • 366f3d26e5 Replace snprintf with a branch-free writer for \uXXXX escapes (#5235) Niels Lohmann 2026-07-08 20:25:13 +02:00
  • 279d757031 deploy: 7c9208bfb3 nlohmann 2026-07-08 18:19:46 +00:00
  • 7c9208bfb3 📝 make documentation more LLM friendly (#5244) Niels Lohmann 2026-07-08 20:18:24 +02:00
  • bb60941f0e 🔒 fix security findings (#5245) Niels Lohmann 2026-07-08 16:40:58 +02:00
  • 282f84cc8e ⬆️ Doctest 2.5.3 upgrade_doctest Niels Lohmann 2026-07-08 10:56:15 +02:00
  • 3b0dd69928 ⬆️ Bump step-security/harden-runner from 2.19.4 to 2.20.0 (#5242) dependabot[bot] 2026-07-07 20:01:40 +02:00
  • c05c5e229b Add missing copyright notices to SBOM (#5241) Daniel Falk 2026-07-07 20:00:49 +02:00
  • acf076a677 Fix ADL leak of nlohmann::detail through basic_json's default base class (#5238) Niels Lohmann 2026-07-06 12:47:24 +02:00
  • 33edc9751c fix unit-algorithms test reliance on implementation specific behaviour (#5236) Paul Dreik 2026-07-06 08:25:30 +02:00
  • 83c87cb9e0 Read binary strings/blobs in bulk chunks with a memcpy fast path (#5233) Niels Lohmann 2026-07-05 19:26:02 +02:00
  • eed1587000 Reconstruct lexer diagnostics lazily for seekable input (#120) (#5234) Niels Lohmann 2026-07-05 10:42:48 +02:00
  • 9a231845c2 deploy: c034480c22 nlohmann 2026-07-04 09:36:16 +00:00
  • c034480c22 📝 add more docs (#5231) Niels Lohmann 2026-07-04 11:13:25 +02:00
  • 899cf31255 Harden CI: validate PR artifact inputs, migrate off deprecated Semgrep action (#5232) Niels Lohmann 2026-07-04 11:10:02 +02:00
  • c363dc3e4d Bump codeql-action to v4.36.3 and group future updates (#5230) Niels Lohmann 2026-07-03 08:04:41 +02:00
  • 972f5cc10b Attach a ready-to-apply patch when the amalgamation check fails (#5229) Niels Lohmann 2026-07-02 23:05:00 +02:00
  • 518c5c887a ⬆️ Bump github/codeql-action/upload-sarif from 4.36.2 to 4.36.3 (#5225) dependabot[bot] 2026-07-02 23:04:05 +02:00
  • 69c180d665 deploy: c944317002 nlohmann 2026-07-02 15:14:57 +00:00
  • c944317002 Add more compilers (#5220) Niels Lohmann 2026-07-02 17:13:49 +02:00
  • 31dd15b258 Fix ambiguous static_cast (#5221) Niels Lohmann 2026-07-02 17:13:04 +02:00
  • 4deadb2473 deploy: 8d7e0046f4 nlohmann 2026-07-02 14:09:18 +00:00
  • 8d7e0046f4 Add std::format and fmt support (#5224) Niels Lohmann 2026-07-02 15:59:36 +02:00
  • f2f73132b2 deploy: ca49ab6123 nlohmann 2026-07-02 04:36:39 +00:00