/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/script/RhinoUtils.java
encode( object, s, indent, indent ? 0 : -1) ;
encode ( s, object, indent, indent ? 0 : -1 ) ;
} public static String toJson(final Object object) { return toJson(object, true); } public static String toJson(final Object object, final boolean indent) { final StringBuilder s = new StringBuilder(); <extra_id_0> return s.toString(); } private static void encode(final StringBuilder s, final Object object, final boolean indent, final int depth) { if (indent) indent(s, depth); if (object == null) {