
Value constructor and objectValue member assignement takes advantage of the StaticString and avoid the cost of string duplication when storing the string or the member name.
Example of usage:
JB_Json::Value aValue( StaticString("some text") ); JB_Json::Value object; static const StaticString code("code"); object[code] = 1234;
Public Member Functions | |
| StaticString (const char *czstring) | |
| operator const char * () const | |
| const char * | c_str () const |
| StaticString | ( | const char * | czstring | ) | [inline, explicit] |
| operator const char * | ( | ) | const [inline] |
| const char* c_str | ( | ) | const [inline] |
1.5.3