aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/json.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/json.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unstable/json.h b/src/unstable/json.h
index 336f1fd..4c85dd9 100644
--- a/src/unstable/json.h
+++ b/src/unstable/json.h
@@ -41,6 +41,7 @@ namespace Bu
41 Json( bool bValue ); 41 Json( bool bValue );
42 Json( Type eType ); 42 Json( Type eType );
43 Json( Bu::Stream &sInput ); 43 Json( Bu::Stream &sInput );
44 Json( const Json &rSrc );
44 virtual ~Json(); 45 virtual ~Json();
45 46
46 Type getType() const; 47 Type getType() const;
@@ -59,6 +60,7 @@ namespace Bu
59 60
60 bool has( const Bu::String &sKey ) const; 61 bool has( const Bu::String &sKey ) const;
61 void insert( const Bu::String &sKey, Bu::Json *pObj ); 62 void insert( const Bu::String &sKey, Bu::Json *pObj );
63 void insert( const Bu::String &sKey, const Bu::Json &rObj );
62 void insert( const Bu::String &sKey, const Bu::String &sValue ); 64 void insert( const Bu::String &sKey, const Bu::String &sValue );
63 void insert( const Bu::String &sKey, const char *sValue ); 65 void insert( const Bu::String &sKey, const char *sValue );
64 void insert( const Bu::String &sKey, double dValue ); 66 void insert( const Bu::String &sKey, double dValue );
@@ -82,6 +84,8 @@ namespace Bu
82 Bu::String toString() const; 84 Bu::String toString() const;
83 Bu::String toStringStable() const; 85 Bu::String toStringStable() const;
84 86
87 Bu::Json &operator=( const Bu::Json &rSrc );
88
85 private: 89 private:
86 void parse( char &c, Bu::Stream &sInput ); 90 void parse( char &c, Bu::Stream &sInput );
87 void parseString( char &c, Bu::Stream &sInput, Bu::String &sOut ); 91 void parseString( char &c, Bu::Stream &sInput, Bu::String &sOut );