\HEXONETResponseParser

HEXONET ResponseParser

Summary

Methods
Properties
Constants
parse()
serialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

parse()

parse(  raw) : mixed|string|int

Method to parse plain API response into js object

Parameters

raw

API plain response

Returns

mixed|string|int —

API response as hash

serialize()

serialize(mixed|string|int  r) : 

Serialize given parsed response hash back to plain text

Parameters

mixed|string|int r

API response as hash

Returns

plain API response