Package | Description |
---|---|
com.cedarsoftware.io |
Modifier and Type | Class and Description |
---|---|
static class |
WriteOptionsBuilder.DefaultWriteOptions |
Modifier and Type | Method and Description |
---|---|
WriteOptions |
WriteOptionsBuilder.build()
Seal the instance of this class so that no more changes can be made to it.
|
WriteOptions |
WriterContext.getWriteOptions()
Gets the write options for the current serialization
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
JsonIo.deepCopy(Object source,
ReadOptions readOptions,
WriteOptions writeOptions)
Copy an object graph using JSON.
|
static String |
JsonIo.formatJson(String json,
ReadOptions readOptions,
WriteOptions writeOptions)
Format the passed in JSON into multi-line, indented format, commonly used in JSON online editors.
|
static String |
JsonIo.toJson(Object srcObject,
WriteOptions writeOptions)
Convert the passed in Java source object to JSON.
|
static void |
JsonIo.toJson(OutputStream out,
Object source,
WriteOptions writeOptions)
Convert the passed in Java source object to JSON.
|
Constructor and Description |
---|
JsonWriter(OutputStream out,
WriteOptions writeOptions) |
Copyright © 2024. All rights reserved.