public synchronized String toJson ( Object input ) throws JsonException { try { // depth = 0; return recurse ( input ) ; } catch ( IOException e ) { throw new JsonException ( e ) ; } }
Converts a given object into a JSON String