An error occurred fetching the project authors.
- 17 Dec, 2017 1 commit
-
-
Niels Lohmann authored
-
- 14 Dec, 2017 1 commit
-
-
Niels Lohmann authored
This reverts commit 920f64c0.
-
- 13 Dec, 2017 1 commit
-
-
Niels Lohmann authored
Update required all CHECK_THROWS_AS macros to pass the exception type without reference, because this is now done by Catch2.
-
- 05 Oct, 2017 1 commit
-
-
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.
-
- 13 Sep, 2017 1 commit
-
-
Niels Lohmann authored
-
- 09 Sep, 2017 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 27 Jul, 2017 1 commit
-
-
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.
-
- 23 Jul, 2017 1 commit
-
-
Niels Lohmann authored
We now rely on implicit conversions to an input_adapter object in the parse/accept functions.
-
- 22 Jul, 2017 1 commit
-
-
Niels Lohmann authored
Internally, the parser now writes its result into a JSON value provided as a reference. To be usable, the public interfaces need to be extended.
-
- 09 Jul, 2017 1 commit
-
-
Théo DELRIEU authored
-
- 07 Jul, 2017 1 commit
-
-
Niels Lohmann authored
-
- 22 Jun, 2017 1 commit
-
-
Niels Lohmann authored
-
- 21 Jun, 2017 1 commit
-
-
Niels Lohmann authored
-
- 20 Jun, 2017 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 18 Jun, 2017 1 commit
-
-
Niels Lohmann authored
-
- 13 May, 2017 1 commit
-
-
Niels Lohmann authored
-
- 24 Apr, 2017 1 commit
-
-
Niels Lohmann authored
a simple acceptor function
-
- 15 Apr, 2017 1 commit
-
-
Niels Lohmann authored
-
- 09 Apr, 2017 1 commit
-
-
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.
-
- 31 Mar, 2017 1 commit
-
-
Niels Lohmann authored
-
- 28 Mar, 2017 1 commit
-
-
Niels Lohmann authored
-
- 26 Mar, 2017 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 24 Mar, 2017 1 commit
-
-
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.
-
- 16 Mar, 2017 1 commit
-
-
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.
-
- 14 Mar, 2017 1 commit
-
-
Niels Lohmann authored
-
- 12 Mar, 2017 2 commits
-
-
Niels Lohmann authored
-
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.
-
- 01 Mar, 2017 1 commit
-
-
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).
-
- 25 Feb, 2017 1 commit
-
-
Niels Lohmann authored
-
- 18 Feb, 2017 1 commit
-
-
Niels Lohmann authored
-
- 15 Feb, 2017 1 commit
-
-
Niels Lohmann authored
-
- 13 Feb, 2017 1 commit
-
-
Niels Lohmann authored
-
- 12 Feb, 2017 1 commit
-
-
Niels Lohmann authored
-
- 29 Jan, 2017 1 commit
-
-
Niels Lohmann authored
-
- 28 Jan, 2017 1 commit
-
-
Niels Lohmann authored
-