• Philipp A. Hartmann's avatar
    Improved handling of NULL strings · 47c3c1ec
    Philipp A. Hartmann authored
     * Safely assert upon passing NULL string without length
       (requires usage of RAPIDJSON_ASSERT within an expression)
     * Allow using a NULL string together with an explicit length 0
       (GenericStringRef, GenericValue::SetString, ...), see #817
     * Add GenericValue::SetString(StringRefType, Allocator&) overload
     * Add tests for the various cases
    47c3c1ec
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
allocatorstest.cpp Loading commit data...
bigintegertest.cpp Loading commit data...
documenttest.cpp Loading commit data...
dtoatest.cpp Loading commit data...
encodedstreamtest.cpp Loading commit data...
encodingstest.cpp Loading commit data...
filestreamtest.cpp Loading commit data...
fwdtest.cpp Loading commit data...
istreamwrappertest.cpp Loading commit data...
itoatest.cpp Loading commit data...
jsoncheckertest.cpp Loading commit data...
namespacetest.cpp Loading commit data...
ostreamwrappertest.cpp Loading commit data...
pointertest.cpp Loading commit data...
prettywritertest.cpp Loading commit data...
readertest.cpp Loading commit data...
regextest.cpp Loading commit data...
schematest.cpp Loading commit data...
simdtest.cpp Loading commit data...
strfunctest.cpp Loading commit data...
stringbuffertest.cpp Loading commit data...
strtodtest.cpp Loading commit data...
unittest.cpp Loading commit data...
unittest.h Loading commit data...
valuetest.cpp Loading commit data...
writertest.cpp Loading commit data...