| Constructor and Description |
|---|
JsonUtils.MarshallerBuilder() |
| Modifier and Type | Method and Description |
|---|---|
JsonUtils.MarshallerBuilder |
formattedOutput(boolean formattedOutput)
Whether to produce formatted output.
|
String |
marshalToString(Object obj)
Marshalls the specified object to a JSON String.
|
public JsonUtils.MarshallerBuilder formattedOutput(boolean formattedOutput)
Default is false.
formattedOutput - If true, JSON output will be formatted / indented.Copyright © 2015. All rights reserved.