aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2019-05-13 19:47:19 -0700
committerMike Buland <eichlan@xagasoft.com>2019-05-13 19:47:19 -0700
commitd605d6c3c04c1e26121f9b1c5c1d2dbcc5f7bc37 (patch)
tree0cd21d420fc67ae757ec2475610c4624fd714363 /src/tools
parent62753c815b5ec34ebfae37a3c89187a01cc17160 (diff)
downloadlibbu++-d605d6c3c04c1e26121f9b1c5c1d2dbcc5f7bc37.tar.gz
libbu++-d605d6c3c04c1e26121f9b1c5c1d2dbcc5f7bc37.tar.bz2
libbu++-d605d6c3c04c1e26121f9b1c5c1d2dbcc5f7bc37.tar.xz
libbu++-d605d6c3c04c1e26121f9b1c5c1d2dbcc5f7bc37.zip
UtfString & Json overhaul.
UtfString supports a load of new stuff, and Json uses UtfString exclusively now.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/jsontool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/jsontool.cpp b/src/tools/jsontool.cpp
index 4b6f232..e086fb8 100644
--- a/src/tools/jsontool.cpp
+++ b/src/tools/jsontool.cpp
@@ -16,8 +16,8 @@ void printThing( Bu::Json &j, int iDepth=0 )
16 case Bu::Json::Object: 16 case Bu::Json::Object:
17 Bu::println("<object>"); 17 Bu::println("<object>");
18 { 18 {
19 Bu::StringList lKeys = j.getKeys(); 19 Bu::UtfStringList lKeys = j.getKeys();
20 for( Bu::StringList::iterator i = lKeys.begin(); i; i++ ) 20 for( Bu::UtfStringList::iterator i = lKeys.begin(); i; i++ )
21 { 21 {
22 for(int k = 0; k < iDepth+1; k++ ) 22 for(int k = 0; k < iDepth+1; k++ )
23 Bu::print(" "); 23 Bu::print(" ");