aboutsummaryrefslogtreecommitdiff
path: root/src/tests/json.cpp
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2017-08-23 06:36:55 -0700
committerMike Buland <mbuland@penny-arcade.com>2017-08-23 06:36:55 -0700
commitb82c6e251b995353ce205bbd53f3db2b985c5345 (patch)
treee633d576ddb3783c40e3c0e7e39b0f51fe09cbbc /src/tests/json.cpp
parent320c4811b16f1e50fc94203728f05f0c10e915d1 (diff)
downloadlibbu++-b82c6e251b995353ce205bbd53f3db2b985c5345.tar.gz
libbu++-b82c6e251b995353ce205bbd53f3db2b985c5345.tar.bz2
libbu++-b82c6e251b995353ce205bbd53f3db2b985c5345.tar.xz
libbu++-b82c6e251b995353ce205bbd53f3db2b985c5345.zip
Fixed string constructor.
Diffstat (limited to 'src/tests/json.cpp')
-rw-r--r--src/tests/json.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/json.cpp b/src/tests/json.cpp
index 7c1c119..d588a02 100644
--- a/src/tests/json.cpp
+++ b/src/tests/json.cpp
@@ -5,6 +5,13 @@
5 5
6int main( int argc, char *argv[] ) 6int main( int argc, char *argv[] )
7{ 7{
8 Bu::Json j("Hi there");
9 Bu::println( j.toString() );
10 return 0;
11}
12
13void hi()
14{
8 Bu::File fIn( "test1.json", Bu::File::Read ); 15 Bu::File fIn( "test1.json", Bu::File::Read );
9 Bu::Json ob( fIn ); 16 Bu::Json ob( fIn );
10 ob.write( Bu::sioRaw ); 17 ob.write( Bu::sioRaw );