This project is mirrored from https://github.com/nlohmann/json.git. Pull mirroring updated .
  1. 12 Jun, 2022 1 commit
    • Niels Lohmann's avatar
      Use new CI image (#3528) · af343961
      Niels Lohmann authored
      *  use new CI image
      
      *  use new CI image
      
      * 🚨 fix warning
      
      * 🔧 remove duplicate warning flags
      
      * 💚 fix test
      
      * 📝 update compiler versions
      af343961
  2. 06 Jun, 2022 1 commit
  3. 03 Jun, 2022 1 commit
  4. 17 May, 2022 1 commit
    • Niels Lohmann's avatar
      Complete documentation for 3.11.0 (#3464) · 6a739205
      Niels Lohmann authored
      * 👥 update contributor and sponsor list
      
      * 🚧 document BJData format
      
      * 🚧 document BJData format
      
      * 📝 clarified documentation of [json.exception.parse_error.112]
      
      *  adjust titles
      
      * 📝 add more examples
      
      * 🚨 adjust warnings for index.md files
      
      * 📝 add more examples
      
      * 🔥 remove example for deprecated code
      
      * 📝 add missing enum entry
      
      * 📝 overwork table for binary formats
      
      *  add test to create table for binary formats
      
      * 📝 fix wording in example
      
      * 📝 add more examples
      
      * Update iterators.md (#3481)
      
      *  add check for overloads to linter #3455
      
      * 👥 update contributor list
      
      * 📝 add more examples
      
      * 📝 fix documentation
      
      * 📝 add more examples
      
      * 🎨 fix indentation
      
      * 🔥 remove example for destructor
      
      * 📝
      
       overwork documentation
      
      * Updated BJData documentation, #3464 (#3493)
      
      * update bjdata.md for #3464
      
      * Minor edit
      
      * Fix URL typo
      
      * Add info on demoting ND array to a 1-D optimized array when singleton dimension
      Co-authored-by: default avatarChaoqi Zhang <prncoprs@163.com>
      Co-authored-by: default avatarQianqian Fang <fangqq@gmail.com>
      6a739205
  5. 01 May, 2022 2 commits
    • Florian Albrechtskirchinger's avatar
      Add build step for ICPC (with fixes) (#3465) · bdc21ad1
      Florian Albrechtskirchinger authored
      *  Doctest 2.4.7
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      *  downgrade to Doctest 2.4.6
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      * 👷 add CI step for ICPC
      
      * 🔇
      
       suppress warning #2196: routine is both "inline" and "noinline"
      
      * Re-enable <filesystem> detection on ICPC
      
      * Limit regression test for #3070 to Clang and GCC >=8.4
      
      * Disable deprecation warnings on ICPC
      
      * Disable regression test for #1647 on ICPC (C++20)
      
      * Fix compilation failure of regression test for #3077 on ICPC
      
      * Disable wstring unit test on ICPC
      
      Fixes:
        error 913: invalid multibyte character sequence
      
      * Add ICPC to README
      Co-authored-by: default avatarNiels Lohmann <mail@nlohmann.me>
      bdc21ad1
    • Niels Lohmann's avatar
      Reorganize directories (#3462) · b21c3451
      Niels Lohmann authored
      * 🚚 move files
      * 🚚 rename doc folder to docs
      * 🚚 rename test folder to tests
      b21c3451
  6. 29 Apr, 2022 1 commit
    • Qianqian Fang's avatar
      Support UBJSON-derived Binary JData (BJData) format (#3336) · ee516614
      Qianqian Fang authored
      * support UBJSON-derived Binary JData (BJData) format
      
      * fix Codacy warning
      
      * partially fix VS compilation errors
      
      * fix additional VS errors
      
      * fix more VS compilation errors
      
      * fix additional warnings and errors for clang and msvc
      
      * add more tests to cover the new bjdata types
      
      * add tests for optimized ndarray, improve coverage, fix clang/gcc warnings
      
      * gcc warn useless conversion but msvc gives an error
      
      * fix ci_test errors
      
      * complete test coverage, fix ci_test errors
      
      * add half precision error test
      
      * fix No newline at end of file error by clang
      
      * simplify endian condition, format unit-bjdata
      
      * remove broken test due to alloc limit
      
      * full coverage, I hope
      
      * move bjdata new markers from default to the same level as ubjson markers
      
      * fix ci errors, add tests for new bjdata switch structure
      
      * make is_bjdata const after using initializer list
      
      * remove the unwanted assert
      
      * move is_bjdata to an optional param to write_ubjson
      
      * pass use_bjdata via output adapter
      
      * revert order to avoid msvc 2015 unreferenced formal param error
      
      * update BJData Spect V1 Draft-2 URL after spec release
      
      * amalgamate code
      
      * code polishing following @gregmarr's feedback
      
      * make use_bjdata a non-default parameter
      
      * fix ci error, remove unwanted param comment
      
      * encode and decode bjdata ndarray in jdata annotations, enable roundtrip tests
      
      * partially fix ci errors, add tests to improve coverage
      
      * polish patch to remove ci errors
      
      * fix a ndarray dim vector condition
      
      * fix clang tidy error
      
      * add sax test cases for ndarray
      
      * add additional sax event tests
      
      * adjust sax event numbering
      
      * fix sax tests
      
      * ndarray can only be used with array containers, discard if used in object
      
      * complete test coverage
      
      * disable [{SHTFNZ in optimized type due to security risks in #2793 and hampered readability
      
      * fix ci error
      
      * move OutputIsLittleEndian from tparam to param to replace use_bjdata
      
      * fix ci clang gcc error
      
      * fix ci static analysis error
      
      * update json_test_data to 3.1.0, enable file-based bjdata unit tests
      
      * fix stack overflow error on msvc 2019 and 2022
      
      * use https link, update sax_parse_error after rebase
      
      * make input_format const and use initializer
      
      * return bool for write_bjdata_ndarray
      
      * test write_bjdata_ndarray return value as boolean
      
      * fix ci error
      ee516614
  7. 25 Apr, 2022 1 commit
    • Niels Lohmann's avatar
      Overwork documentation (#3444) · a6ee8bf9
      Niels Lohmann authored
      * 📝 overwork macro documentation
      
      * 📝 address review comments
      
      * 🔧 add style check to Makefile
      
      * 🙈 overwork .gitignore
      
      * 📌 Pygments 2.12.0 is broken
      
      *  fix links
      
      * 🚸 adjust output to cppcheck
      
      * 📝 add titles to more admonitions
      
      *  fix typos
      
      * 📝 document future behavior change
      a6ee8bf9
  8. 06 Apr, 2022 1 commit
    • Niels Lohmann's avatar
      Update CI image (#3420) · 448b173c
      Niels Lohmann authored
      *  use new CI image
      
      *  use new CI image
      
      * 🚨 suppress Clang-Tidy warnings
      
      * 💚 use proper scan-build version
      
      * 🚨 suppress Clang-Tidy warnings
      
      *  use more recent GitHub actions
      
      * 💚 add missing compiler
      
      * 📝 update used compilers
      
      * 🚨 fix duplicate inclusion
      448b173c
  9. 04 Apr, 2022 1 commit
  10. 06 Mar, 2022 1 commit
  11. 08 Feb, 2022 1 commit
  12. 30 Jan, 2022 1 commit
  13. 26 Jan, 2022 1 commit
  14. 02 Jan, 2022 1 commit
  15. 31 Dec, 2021 1 commit
  16. 29 Dec, 2021 1 commit
    • Niels Lohmann's avatar
      Consolidate documentation (#3071) · 29cd970b
      Niels Lohmann authored
      * 🔥 consolidate documentation
      *  overwork std specializations
      * 🚚 move images files to mkdocs
      *  fix URLs
      * 🔧 tweak MkDocs configuration
      * 🔧 add namespaces
      * 📝 document deprecations
      * 📝 document documentation generation
      * 🚸 improve search
      * 🚸 add examples
      * 🚧 start adding documentation for macros
      * 📝 add note for https://github.com/nlohmann/json/issues/874#issuecomment-1001699139
      * 📝 overwork example handling
      * 📝 fix Markdown tables
      29cd970b
  17. 18 Nov, 2021 1 commit
  18. 29 Oct, 2021 1 commit
    • Niels Lohmann's avatar
      Update CI (#3088) · 7440786b
      Niels Lohmann authored
      * 👷 prepare GitHub actions for new Docker image
      
      * 👷 use experimental docker image
      
      * 👷 use Clang-Analyzer 14
      
      * 🔇 suppress readability-identifier-length
      
      * 🔇 suppress more Clang-Tidy warnings
      
      *  simplify code
      
      * 🔇 suppress more Clang-Tidy warnings
      
      * 🔇 suppress more Clang-Tidy warnings
      
      * 🚨 fix warning
      
      * 🚨 fix warning
      
      * 🚨 fix warning
      
      * 👷 use new Docker image
      7440786b
  19. 16 Oct, 2021 1 commit
  20. 08 Oct, 2021 1 commit
  21. 28 Sep, 2021 1 commit
  22. 01 Sep, 2021 1 commit
  23. 29 Aug, 2021 1 commit
  24. 26 Aug, 2021 1 commit
  25. 24 Aug, 2021 1 commit
  26. 22 Aug, 2021 1 commit
  27. 20 Aug, 2021 1 commit
  28. 18 Aug, 2021 3 commits
  29. 15 Aug, 2021 1 commit
  30. 11 Aug, 2021 1 commit
  31. 01 Aug, 2021 1 commit
  32. 17 Jul, 2021 1 commit
  33. 16 Jul, 2021 2 commits
  34. 06 Jul, 2021 1 commit
  35. 18 Jun, 2021 1 commit
  36. 17 Jun, 2021 1 commit