public class JSONWritable extends Object
| Constructor and Description |
|---|
JSONWritable() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getJsonBytes()
Get the JSON of this object as a byte[].
|
String |
getJsonString()
Get the JSON of this object as a String.
|
public byte[] getJsonBytes()
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getJsonString() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.