aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unstable/json.cpp')
-rw-r--r--src/unstable/json.cpp8
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
528bool Bu::Json::operator==( const Bu::String &rRhs )
529{
530 if( eType != String )
531 return false;
532
533 return (*uDat.pString) == rRhs;
534}
535
528void Bu::Json::parseString( Bu::UtfChar &c, Bu::Stream &sInput, 536void Bu::Json::parseString( Bu::UtfChar &c, Bu::Stream &sInput,
529 Bu::UtfString &sOut ) 537 Bu::UtfString &sOut )
530{ 538{