T - the type of the value@Immutable public abstract class AsJsonValueHolder<T extends AsJson> extends ValueHolder<T>
ValueHolder for values implementing AsJsonFACTORY, value| Modifier | Constructor and Description |
|---|---|
protected |
AsJsonValueHolder(String name,
T value) |
| Modifier and Type | Method and Description |
|---|---|
protected JsonNode |
valueAsJson()
Return a JSON representation of the value
|
getValue, newMessageprotected final JsonNode valueAsJson()
ValueHoldervalueAsJson in class ValueHolder<T extends AsJson>JsonNodeCopyright © 2013. All Rights Reserved.