public interface JsonRpcSerializer
DataValue
s.
This serializer uses JSON representations for DataValue
instances
which matches the wire format used for the vAPI JSON-RPC protocol. This
format guarantees precise match with the original when arbitrary
DataValue
representation is deserialized.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
serializeDataValue(DataValue dataValue)
Serializes the provided
DataValue as JSON. |
java.lang.String serializeDataValue(DataValue dataValue)
DataValue
as JSON.dataValue
- to be serializedString
CoreException
- if the provided dataValue
cannot be
serialized