aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/json.cpp5
-rw-r--r--src/unstable/json.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/unstable/json.cpp b/src/unstable/json.cpp
index cdc2a30..273d5d3 100644
--- a/src/unstable/json.cpp
+++ b/src/unstable/json.cpp
@@ -160,6 +160,11 @@ int Bu::Json::getSize() const
160 ); 160 );
161} 161}
162 162
163Bu::StringList Bu::Json::getKeys() const
164{
165 return uDat.pObject->getKeys();
166}
167
163Bu::Json::iterator Bu::Json::begin() 168Bu::Json::iterator Bu::Json::begin()
164{ 169{
165 return uDat.pArray->begin(); 170 return uDat.pArray->begin();
diff --git a/src/unstable/json.h b/src/unstable/json.h
index 217a69a..336f1fd 100644
--- a/src/unstable/json.h
+++ b/src/unstable/json.h
@@ -51,6 +51,7 @@ namespace Bu
51 Json &operator[]( const Bu::String &sKey ) const; 51 Json &operator[]( const Bu::String &sKey ) const;
52 Json &operator[]( int iIndex ) const; 52 Json &operator[]( int iIndex ) const;
53 int getSize() const; 53 int getSize() const;
54 Bu::StringList getKeys() const;
54 iterator begin(); 55 iterator begin();
55 const_iterator begin() const; 56 const_iterator begin() const;
56 iterator end(); 57 iterator end();