JsonParser¶
- class dictIO.parser.JsonParser¶
Bases:
ParserParser to deserialize a string in JSON dictionary format into a SDict.
- __init__() None¶
Define default configuration for JsonParser.
Methods
__init__()Define default configuration for JsonParser.
get_parser([source_file])Return a Parser instance matching the type of the source file to be parsed (factory method).
parse_file(source_file[, target_dict, comments])Parse a file and deserialize it into a dict.
parse_key(arg)Parse a single key.
parse_string(string, target_dict, *[, comments])Parse a string in JSON dictionary format and deserialize it into a SDict.
parse_value(arg)Parse a single value.
parse_values(arg)Parse multiple values.
remove_quotes_from_string(arg, *[, all_quotes])Remove quotes from a string.
remove_quotes_from_strings(arg)Remove quotes from multiple strings.