Contents:
Serializes an item into a json.
item (Any) – The item that will be serialized
The serialized item
str
Exception – raised if the item is an integer value out of the Neo’s accepted range, is a dictionary with a bytearray key, or isn’t serializable.
Deserializes a json into some valid type.
json (str) – A json that will be deserialized
The deserialized json
Any
Exception – raised if jsons deserialization is not valid.