Use the new JSON parser
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Apr 2009 06:33:03 +0000 (06:33 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Apr 2009 06:33:03 +0000 (06:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12809 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/test_json_query.c

index c0e73dc..d90cfc6 100644 (file)
@@ -187,7 +187,7 @@ int main( int argc, char* argv[] ) {
 
 static int test_json_query( const char* json_query ) {
 
-       jsonObject* hash = jsonParseString( json_query );
+       jsonObject* hash = jsonParse( json_query );
        if( !hash ) {
                fprintf( stderr, "Invalid JSON\n" );
                return -1;