json/test/src
Niels Lohmann 8feaf8dc94
💥 implemented new handling of NaN and INF #70 #329 #388
- 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.
2017-03-12 18:38:05 +01:00
..
fuzzer-driver_afl.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
fuzzer-parse_cbor.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
fuzzer-parse_json.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
fuzzer-parse_msgpack.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
prefix.hpp cmake compile time reduce using cotire 2017-02-19 13:35:54 +05:30
unit-algorithms.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-allocator.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-capacity.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-cbor.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-class_const_iterator.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-class_iterator.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-class_lexer.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-class_parser.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-comparison.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-concepts.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-constructor1.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-constructor2.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-convenience.cpp micro-optimization of dump() 2017-02-28 16:28:22 +01:00
unit-conversions.cpp added missing tests 2017-02-26 11:50:52 +01:00
unit-deserialization.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-element_access1.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-element_access2.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-inspection.cpp 💄 cleanup 2017-02-28 19:20:50 +01:00
unit-iterator_wrapper.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-iterators1.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-iterators2.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-json_patch.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-json_pointer.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-meta.cpp more tests for meta() call 2017-02-26 14:34:58 +01:00
unit-modifiers.cpp 🚑 fix for #492 2017-03-09 18:20:26 +01:00
unit-msgpack.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-noexcept.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-pointer_access.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-readme.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-reference_access.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-regression.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-serialization.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-testsuites.cpp 💥 implemented new handling of NaN and INF #70 #329 #388 2017-03-12 18:38:05 +01:00
unit-udt.cpp 🎨 cleanup after #496 2017-03-11 16:01:26 +01:00
unit-unicode.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00