json2xml package¶
Submodules¶
json2xml.dicttoxml module¶
json2xml.json2xml module¶
json2xml.utils module¶
Utility methods for reading JSON data from various sources.
- exception json2xml.utils.InvalidDataError[source]¶
Bases:
ExceptionRaised when the data is invalid.
- exception json2xml.utils.JSONReadError[source]¶
Bases:
ExceptionRaised when there is an error reading JSON data.
- exception json2xml.utils.StringReadError[source]¶
Bases:
ExceptionRaised when there is an error reading from a string.
- exception json2xml.utils.URLReadError[source]¶
Bases:
ExceptionRaised when there is an error reading from a URL.
- json2xml.utils.readfromjson(filename: str) None | bool | int | float | str | list[JSONValue] | dict[str, JSONValue][source]¶
Read JSON data from a file.
Module contents¶
Top-level package for json2xml.