diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/json.cpp | 7 |
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 | ||
6 | int main( int argc, char *argv[] ) | 6 | int main( int argc, char *argv[] ) |
7 | { | 7 | { |
8 | Bu::Json j("Hi there"); | ||
9 | Bu::println( j.toString() ); | ||
10 | return 0; | ||
11 | } | ||
12 | |||
13 | void 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 ); |