If True, data will be strictly flattened, with no hooks added to enable reconstruction via deionize(). This may be needed when passing data to some JSON implementations that cannot handle the extra hook attributes.
The return value (bytes) is always a UTF-8 encoded bytestring.
Unpickling (deserializing) is performed with deionize():
from boodebr.ion import deionize obj = deionize(buf, userhooks=None)
Where:
buf
Normally this is the UTF-8 bytestream returned from ionize, but may be a Unicode value as well.
userhooks
A dictionary of user-defined hooks. See hooks API.