1. 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
  2. 15 Jul, 2017 1 commit
  3. 13 Jul, 2017 1 commit
  4. 12 Jul, 2017 1 commit
  5. 11 Jul, 2017 4 commits
  6. 09 Jul, 2017 17 commits
  7. 08 Jul, 2017 13 commits
  8. 07 Jul, 2017 2 commits
    • Niels Lohmann's avatar
      re-added test · 63ecbfd3
      Niels Lohmann authored
      I have no idea why this test has been removed in the first place.
      63ecbfd3
    • Niels Lohmann's avatar
      🐛 fixed undefined behavior bug · 07b78c99
      Niels Lohmann authored
      When an empty vector was passed to the parse function, an empty iterator range was used to construct an input iterator. Unfortunately, we then cannot use the start iterator to derive a pointer from.
      
      Found with Xcode's undefined behavior sanitizer.
      07b78c99