const char * Value::asCString() const { JSON_ASSERT( type_ == stringValue ); return value_.string_; }
This should accept null values and return null in that case.
https://github.com/open-source-parsers/jsoncpp/
Log in to post a comment.
https://github.com/open-source-parsers/jsoncpp/