public interface ISerializationProvider
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(AbiEosSerializationObject deserilizationObject)
Perform a deserialization process to convert a hex string to a JSON string given the parameters
provided in the input deserilizationObject.
|
java.lang.String |
deserializeAbi(java.lang.String hex)
Convenience method to transform an ABI hex string to a JSON string.
|
java.lang.String |
deserializeTransaction(java.lang.String hex)
Convenience method to transform a transaction hex string to a JSON string.
|
void |
serialize(AbiEosSerializationObject serializationObject)
Perform a serialization process to convert a JSON string to a HEX string given the parameters
provided in the input serializationObject.
|
java.lang.String |
serializeAbi(java.lang.String json)
Convenience method to transform an ABI JSON string to a hex string.
|
java.lang.String |
serializeTransaction(java.lang.String json)
Convenience method to transform a transaction JSON string to a hex string.
|
void deserialize(AbiEosSerializationObject deserilizationObject) throws DeserializeError
deserilizationObject - Input object passing the hex string to be converted as well
as other parameters to control the deserialization process.DeserializeError - A deserialization error is thrown if there are any exceptions during the
conversion process.void serialize(AbiEosSerializationObject serializationObject) throws SerializeError
serializationObject - Input object passing the JSON string to be converted as well
as other parameters to control the serialization process.SerializeError - A serialization error is thrown if there are any exceptions during the
conversion process.java.lang.String deserializeTransaction(java.lang.String hex)
throws DeserializeTransactionError
hex - Hex string representing the transaction to deserialize.DeserializeTransactionError - A deserialization error is thrown if there are any exceptions during the
conversion process.java.lang.String serializeTransaction(java.lang.String json)
throws SerializeTransactionError
json - JSON string representing the transaction to serialize.SerializeTransactionError - A serialization error is thrown if there are any exceptions during the
conversion process.java.lang.String deserializeAbi(java.lang.String hex)
throws DeserializeAbiError
hex - Hex string representing the ABI to deserialize.DeserializeAbiError - A deserialization error is thrown if there are any exceptions during the
conversion process.java.lang.String serializeAbi(java.lang.String json)
throws SerializeAbiError
json - JSON string representing the ABI to serialize.SerializeAbiError - A serialization error is thrown if there are any exceptions during the
conversion process.