@Test public void testIndent() { final String actual = JsonIndentWriter.toString(TEST_JSON, new StringWriter(), 4).toString(); assertEquals(indent, actual); }
public static Writer toString(JsValue jv, Writer w) { jv.apply(INSTANCE).apply(w); return w; }
JsonWriter implements JsonAlg<SideEffect.F<Writer>> { public static Writer toString(JsValue jv, Writer w) { jv.apply(INSTANCE).apply(w); return w; } }
JsonWriter implements JsonAlg<SideEffect.F<Writer>> { public static Writer toString(JsValue jv, Writer w) { jv.apply(INSTANCE).apply(w); return w; }  }
JsonWriter implements JsonAlg<SideEffect.F<Writer>> { public static Writer toString(JsValue jv, Writer w) { jv.apply(INSTANCE).apply(w); return w; }  static Writer toString(JsValue jv, Writer w); @Override SideEffect.F<Writer> nul(); @Override SideEffect.F<Writer> bool(boolean b); @Override SideEffect.F<Writer> num(double d); @Override SideEffect.F<Writer> str(String s); @Override SideEffect.F<Writer> arr(List<SideEffect.F<Writer>> elems); @Override SideEffect.F<Writer> obj(LinkedHashMap<String, SideEffect.F<Writer>> fields); }
JsonWriter implements JsonAlg<SideEffect.F<Writer>> { public static Writer toString(JsValue jv, Writer w) { jv.apply(INSTANCE).apply(w); return w; }  static Writer toString(JsValue jv, Writer w); @Override SideEffect.F<Writer> nul(); @Override SideEffect.F<Writer> bool(boolean b); @Override SideEffect.F<Writer> num(double d); @Override SideEffect.F<Writer> str(String s); @Override SideEffect.F<Writer> arr(List<SideEffect.F<Writer>> elems); @Override SideEffect.F<Writer> obj(LinkedHashMap<String, SideEffect.F<Writer>> fields); static final JsonWriter INSTANCE; }