diff options
Diffstat (limited to 'src/unstable/json.cpp')
-rw-r--r-- | src/unstable/json.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unstable/json.cpp b/src/unstable/json.cpp index 7e6387b..d3d8535 100644 --- a/src/unstable/json.cpp +++ b/src/unstable/json.cpp | |||
@@ -525,6 +525,14 @@ Bu::Json &Bu::Json::operator=( const Bu::Json &rSrc ) | |||
525 | return *this; | 525 | return *this; |
526 | } | 526 | } |
527 | 527 | ||
528 | bool Bu::Json::operator==( const Bu::String &rRhs ) | ||
529 | { | ||
530 | if( eType != String ) | ||
531 | return false; | ||
532 | |||
533 | return (*uDat.pString) == rRhs; | ||
534 | } | ||
535 | |||
528 | void Bu::Json::parseString( Bu::UtfChar &c, Bu::Stream &sInput, | 536 | void Bu::Json::parseString( Bu::UtfChar &c, Bu::Stream &sInput, |
529 | Bu::UtfString &sOut ) | 537 | Bu::UtfString &sOut ) |
530 | { | 538 | { |