An error occurred fetching the project authors.
  1. 17 Dec, 2017 1 commit
  2. 14 Dec, 2017 1 commit
  3. 13 Dec, 2017 1 commit
    • Niels Lohmann's avatar
      :arrow_up: updated to Catch 2.0.1 · 920f64c0
      Niels Lohmann authored
      Update required all CHECK_THROWS_AS macros to pass the exception type without reference, because this is now done by Catch2.
      920f64c0
  4. 05 Oct, 2017 1 commit
    • Perry Kundert's avatar
      Further performance improvements, and corrections in get_token_string · 546e148b
      Perry Kundert authored
      o An (-'ve valued, typically -1) EOF must never be allowed in
        token_string, as it be converted to 255 -- a legitimate value.
      o Comparing against a specific eof() (-1, typically) is more costly than
        detecting +'ve/-'ve.  Since EOF is the only non-positive value allowed
        we can use the simpler test.
      o Removed unnecessary test for token_string size, as it is already
        tested in the method, and must never occur in correct code; used an
        assert instead.
      546e148b
  5. 13 Sep, 2017 1 commit
  6. 09 Sep, 2017 3 commits
  7. 27 Jul, 2017 1 commit
    • Niels Lohmann's avatar
      :sparkles: implemented exception-free parser #458 #582 · 7d512140
      Niels Lohmann authored
      You can now pass a boolean "allow_exceptions" to the parse functions. If it is false, no exceptions are thrown in case of a parse error. Instead, parsing is stopped at the first error and a JSON value of type "discarded" (check with is_discarded()) is returned.
      7d512140
  8. 23 Jul, 2017 1 commit
  9. 22 Jul, 2017 1 commit
  10. 09 Jul, 2017 1 commit
  11. 07 Jul, 2017 1 commit
  12. 22 Jun, 2017 1 commit
  13. 21 Jun, 2017 1 commit
  14. 20 Jun, 2017 2 commits
  15. 18 Jun, 2017 1 commit
  16. 13 May, 2017 1 commit
  17. 24 Apr, 2017 1 commit
  18. 15 Apr, 2017 1 commit
  19. 09 Apr, 2017 1 commit
    • Niels Lohmann's avatar
      :hammer: simplified interface for parser, lexer, and binary_reader · 186a9fd4
      Niels Lohmann authored
      These classes are now constructed with an interface adapter. This moves
      complexity from various places into the interface adapter class, or to
      some factories which now implement the different flavors of input.
      
      Furthermore, input adapters are kept in std::shared_ptr to avoid the
      need of manual deletion.
      186a9fd4
  20. 31 Mar, 2017 1 commit
  21. 28 Mar, 2017 1 commit
  22. 26 Mar, 2017 3 commits
  23. 24 Mar, 2017 1 commit
    • Niels Lohmann's avatar
      :construction: manual lexer · 40160f48
      Niels Lohmann authored
      This commit removed the re2c lexer and replaced it by a manual version.
      Its integration is not yet complete: number parsing does not respect
      locales or overflows. Furthermore, parsing does not need to end with
      EOF. Therefore, a lot of test cases fail. The idea is to push this
      branch forward so we can conduct performance comparisons. So far, a
      nice side effect are better diagnosis messages in case of parse errors.
      40160f48
  24. 16 Mar, 2017 1 commit
    • Niels Lohmann's avatar
      :construction: a lot of minor changes · c5711f30
      Niels Lohmann authored
      - Removed unused headers.
      - Added override where needed.
      - Added description for parse_error.113 exception.
      - Fixed some conversion warnings.
      - Integrated cbor_expect_string function for CBOR maps.
      - Added documentation on the supported CBOR/MessagePack features.
      - Added test to check all initial bytes for CBOR input.
      c5711f30
  25. 14 Mar, 2017 1 commit
  26. 12 Mar, 2017 2 commits
    • Niels Lohmann's avatar
      :hammer: added user-defined exception 406 · c5cf32e3
      Niels Lohmann authored
      c5cf32e3
    • Niels Lohmann's avatar
      :boom: implemented new handling of NaN and INF #70 #329 #388 · 8feaf8dc
      Niels Lohmann authored
      - If an overflow occurs during parsing a number from a JSON text, an
      exception (std::out_of_range for the moment, to be replaced by a
      user-defined exception #244) is thrown so that the overflow is detected
      early and roundtripping is guaranteed.
      - NaN and INF floating-point values can be stored in a JSON value and
      are not replaced by null. That is, the basic_json class behaves like
      double in this regard (no exception occurs). However, NaN and INF are
      serialized to “null”.
      - Adjusted test cases appropriately.
      8feaf8dc
  27. 01 Mar, 2017 1 commit
    • Niels Lohmann's avatar
      :hammer: started with user-defined exceptions #301 #244 · c085e3ba
      Niels Lohmann authored
      Added class hierarchy for user-defined exceptions (#244). Integrated
      parse exceptions 101-103. Parse exceptions include the byte count of
      the last read character to locate the position of the error (#301).
      c085e3ba
  28. 25 Feb, 2017 1 commit
  29. 18 Feb, 2017 1 commit
  30. 15 Feb, 2017 1 commit
  31. 13 Feb, 2017 1 commit
  32. 12 Feb, 2017 1 commit
  33. 29 Jan, 2017 1 commit
  34. 28 Jan, 2017 1 commit