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