jodd-madvoc/src/main/java/jodd/madvoc/result/JsonResult.java
public static JsonResult of(final Object object) {
		final String json = JsonSerializer.create().deep(true).serialize(object);
		return new JsonResult(json);
	}
public static JsonResult of(final Object object) {
		final String json = JsonSerializer.create().deep(true).serialize(object);
		return new JsonResult(json);
	}
public static JsonResult of ( final Object object ) { final String json = JsonSerializer . create ( ) . deep ( true ) . serialize ( object ) ; return new JsonResult ( json ) ; }
Creates JSON result from given object. The object will be serialized to JSON.
Creates JSON result from given object . The object will be serialized to JSON .