json/test/src
Niels Lohmann 22b59693f1
💥 CBOR/MessagePack input must end with EOF #505
The CBOR and MessagePack parsers now expect the input to be read until the end. Unless the new parameter "strict" is set to false (it is true by default), an exception is raised if the parser ends prematurely. This is a breaking change as the parsers ignored unread input so far.

Furthermore, the offset/startIndex paramter introduced in #462 was removed as this behavior can be mimicked with an iterator range. For instance, instead of calling "from_cbor(vec, 5);", you can write "from_cbor({vec.begin()+5, vec.end()});".
2017-08-16 14:48:23 +02:00
..
fuzzer-driver_afl.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
fuzzer-parse_cbor.cpp 🚑 added special case to fuzzers to fix #504 2017-03-14 21:05:38 +01:00
fuzzer-parse_json.cpp 🚑 fix for #519 2017-03-17 22:18:48 +01:00
fuzzer-parse_msgpack.cpp 🚑 fix for #516 and #518 2017-03-17 22:18:05 +01:00
prefix.hpp cmake compile time reduce using cotire 2017-02-19 13:35:54 +05:30
unit-algorithms.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-allocator.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-capacity.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-cbor.cpp 💥 CBOR/MessagePack input must end with EOF #505 2017-08-16 14:48:23 +02:00
unit-class_const_iterator.cpp 🔨 fixed compilation error 2017-07-26 23:59:56 +02:00
unit-class_iterator.cpp 🔨 fixed compilation error 2017-07-26 23:59:56 +02:00
unit-class_lexer.cpp 🔨 reorganized interfaces for parse/accept functions #623 2017-07-23 18:11:34 +02:00
unit-class_parser.cpp implemented exception-free parser #458 #582 2017-07-27 20:33:11 +02:00
unit-comparison.cpp improved test coverage 2017-06-20 21:09:26 +02:00
unit-concepts.cpp 🚧 a lot of minor changes 2017-03-16 18:39:33 +01:00
unit-constructor1.cpp Fix an actually invalid test 2017-07-24 01:08:33 +03:00
unit-constructor2.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-convenience.cpp 🔨 fixed compilation error 2017-07-26 23:59:56 +02:00
unit-conversions.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-deserialization.cpp implemented exception-free parser #458 #582 2017-07-27 20:33:11 +02:00
unit-element_access1.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-element_access2.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-inspection.cpp 🐛 fix for #656 2017-07-17 07:53:02 +02:00
unit-iterator_wrapper.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-iterators1.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-iterators2.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-json_patch.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-json_pointer.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-meta.cpp more tests for meta() call 2017-02-26 14:34:58 +01:00
unit-modifiers.cpp 📝 updated documentation for update() function #661 2017-08-15 21:42:50 +02:00
unit-msgpack.cpp 💥 CBOR/MessagePack input must end with EOF #505 2017-08-16 14:48:23 +02:00
unit-noexcept.cpp 🔨 cleanup 2017-03-25 23:31:03 +01:00
unit-pointer_access.cpp re-added test 2017-07-07 23:38:04 +02:00
unit-readme.cpp include <iosfwd> instead of <iostream> 2017-07-09 15:04:49 +09:00
unit-reference_access.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00
unit-regression.cpp 💥 CBOR/MessagePack input must end with EOF #505 2017-08-16 14:48:23 +02:00
unit-serialization.cpp implemented an indentation character #520 2017-05-07 19:27:40 +02:00
unit-testsuites.cpp 🔨 fixed some pedantic GCC warnings 2017-07-07 22:41:22 +02:00
unit-udt.cpp 🎨 cleanup after #496 2017-03-11 16:01:26 +01:00
unit-unicode.cpp 🔨 further cleanup 2017-07-22 13:35:04 +02:00
unit.cpp 🔖 version 2.1.1 2017-02-25 16:34:38 +01:00