public final class StoredJson
extends io.spine.value.StringTypeValue
Modifier and Type | Method and Description |
---|---|
NodeValue |
asNodeValue()
Obtains this JSON as a database node value.
|
static StoredJson |
encode(com.google.protobuf.Message value)
Encodes the given message into a
StoredJson . |
static StoredJson |
from(java.lang.String value)
Creates a
StoredJson from the given JSON string. |
boolean |
isNull()
Checks if this JSON is equal to the
null JSON value. |
static StoredJson |
nullValue() |
public static StoredJson from(java.lang.String value)
StoredJson
from the given JSON string.public static StoredJson encode(com.google.protobuf.Message value)
StoredJson
.value
- message to encodepublic NodeValue asNodeValue()
public boolean isNull()
null
JSON value.public static StoredJson nullValue()