JSON Utilities¶
Some JSON encoding and decoding utilities.
- class iceprod.core.jsonUtil.json_compressor[source]¶
Used for files and other large things sent over json. Great for log files.
- class iceprod.core.jsonUtil.binary_converter[source]¶
note that is is really only for decode of json, since python bytes are strings
- iceprod.core.jsonUtil.recursive_unicode(obj)[source]¶
Walks a simple data structure, converting byte strings to unicode.
Supports lists, tuples, sets, and dictionaries.