1. 29 Jul, 2017 1 commit
    • dan-42's avatar
      REFACTOR: rewrite CMakeLists.txt for better inlcude and reuse · f4349423
      dan-42 authored
      The rewrite uses more cmake build-in automatisms and build-in generates
      variables to allow better generic reuse.
      * cmake  files are installed to
      ``` <install_prefix>/lib/cmake/nlohmann_json/ ``` for best support on
      most systems
      * include path is set to ``` include ```  for usage as ``` #include
      <nlohmann/json.hpp> ```
      f4349423
  2. 27 Jul, 2017 4 commits
  3. 26 Jul, 2017 2 commits
  4. 23 Jul, 2017 2 commits
    • Niels Lohmann's avatar
      🔨 using input/output adapters for CBOR and MessagePack · 4414f94c
      Niels Lohmann authored
      - You can now pass a reference to a vector to the to_cbor and to_msgpack functions. The output will be written (appended) to the vector. #476
      
      - You can now pass an output stream with uint8_t character type to the to_cbor and to_msgpack functions. #477
      
      - You can now read from uint8_t */size in the to_cbor and to_msgpack functions. An input adapter will be created from this pair, so you need to use braces. #478
      4414f94c
    • Niels Lohmann's avatar
      🔨 reorganized interfaces for parse/accept functions #623 · 9b1c0588
      Niels Lohmann authored
      We now rely on implicit conversions to an input_adapter object in the parse/accept functions.
      9b1c0588
  5. 22 Jul, 2017 5 commits
  6. 21 Jul, 2017 1 commit
  7. 20 Jul, 2017 1 commit
    • Niels Lohmann's avatar
      🔨 cleanup · a09193e9
      Niels Lohmann authored
      - Replaced codepoint calculation by bit operations.
      - Fixed several clang-tidy warnings.
      a09193e9
  8. 17 Jul, 2017 1 commit
    • Niels Lohmann's avatar
      🐛 fix for #656 · 21d23982
      Niels Lohmann authored
      A complete rewrite of the string escape function. It now provides codepoint-to-\uxxxx escaping. Invalid UTF-8 byte sequences are not escaped, but copied as-is. I haven’t spent much time optimizing the code - but the library now agrees with Python on every single Unicode character’s escaping (see file test/data/json_nlohmann_tests/all_unicode_ascii.json).
      
      Other minor changes: replaced "size_t" by "std::size_t"
      21d23982
  9. 15 Jul, 2017 1 commit
  10. 13 Jul, 2017 1 commit
  11. 12 Jul, 2017 1 commit
  12. 11 Jul, 2017 4 commits
  13. 09 Jul, 2017 16 commits