public final class ValueResultJsonSerializer extends Object
ValueResult
type into a readable and processable
JSON representation and from a JSON String
to an ValueResult
instanceConstructor and Description |
---|
ValueResultJsonSerializer() |
ValueResultJsonSerializer(boolean prettyPrinting) |
Modifier and Type | Method and Description |
---|---|
ValueResult |
deserialize(String valueResult)
Deserializes a JSON representing a
ValueResult to an actual ValueResult instance. |
String |
serialize(ValueResult valueResult)
Serializes to a JSON representation a
ValueResult |
public ValueResultJsonSerializer()
public ValueResultJsonSerializer(boolean prettyPrinting)
public String serialize(ValueResult valueResult)
ValueResult
valueResult
- result
object to serializeValueResult
public ValueResult deserialize(String valueResult)
ValueResult
to an actual ValueResult
instance.valueResult
- JSON representing a result
ValueResult
instanceCopyright © 2018. All rights reserved.