module tools.json_helper
¶
Short summary¶
module lightmlrestapi.tools.json_helper
Helpers about json.
Classes¶
class |
truncated documentation |
---|---|
Raised when serialization to json does not work. |
Functions¶
function |
truncated documentation |
---|---|
Dumps an object into json. |
|
Loads an object from json. |
Methods¶
method |
truncated documentation |
---|---|
Documentation¶
Helpers about json.
- exception lightmlrestapi.tools.json_helper.JsonError(obj, data=None)¶
Bases:
ValueError
Raised when serialization to json does not work.
- __init__(obj, data=None)¶
- lightmlrestapi.tools.json_helper.json_dumps(obj)¶
Dumps an object into json.
- Parameters:
X – object
- Returns:
json