public class JsonUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonUtils.MarshallerBuilder |
| Constructor and Description |
|---|
JsonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatJson(String json)
Formats (pretty prints) the specified JSON String.
|
static JsonUtils.MarshallerBuilder |
marshaller()
Returns a new MarshallerBuilder to convert Java Objects to JSON and vice versa.
|
public static String formatJson(String json)
json - JSON Stringpublic static JsonUtils.MarshallerBuilder marshaller()
Copyright © 2015. All rights reserved.