Methods
deserializeJsonBytesToObj(bytes, type)
Deserialize the json byte array to an instance of class
Parameters:
Name | Type | Description |
---|---|---|
bytes |
a bytes array | |
type |
instance type |
Returns:
object
validateAndSerializeToJsonBytes(o)
Validate And Serialize an instance of class to Json bytes
Parameters:
Name | Type | Description |
---|---|---|
o |
a instance object |
Throws:
throws ValidationException
Returns:
byte array
Type Definitions
Logger
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
error |
function | |
info |
function | |
debug |
function |