Get the length of string. ! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength(). */
| 1336 | /*! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength(). |
| 1337 | */ |
| 1338 | SizeType GetStringLength() const { RAPIDJSON_ASSERT(IsString()); return ((flags_ & kInlineStrFlag) ? (data_.ss.GetLength()) : data_.s.length); } |
| 1339 | |
| 1340 | //! Set this value as a string without copying source string. |
| 1341 | /*! This version has better performance with supplied length, and also support string containing null character. |
no test coverage detected