Lines Matching refs:json
7 from json import scanner
67 """Scan the string s for a JSON string. End is the index of the
68 character in s after the quote that started the JSON string.
69 Unescapes all valid JSON string escape sequences and raises ValueError
179 # the JSON key separator is ": " or just ":".
274 """Simple JSON <http://json.org> decoder
279 | JSON | Python |
299 their corresponding ``float`` values, which is outside the JSON spec.
314 of every JSON object decoded and its return value will be used in
316 deserializations (e.g. to support JSON-RPC class hinting).
319 every JSON object decoded with an ordered list of pairs. The return
328 of every JSON float to be decoded. By default this is equivalent to
330 for JSON floats (e.g. decimal.Decimal).
333 of every JSON int to be decoded. By default this is equivalent to
335 for JSON integers (e.g. float).
339 This can be used to raise an exception if invalid JSON numbers
362 instance containing a JSON document)
372 """Decode a JSON document from ``s`` (a ``str`` or ``unicode``
373 beginning with a JSON document) and return a 2-tuple of the Python
376 This can be used to decode a JSON document from a string that may
383 raise ValueError("No JSON object could be decoded")