• 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
valuetest.cpp 55.1 KB