Searched defs:JSONEncoder (Results 1 - 4 of 4) sorted by relevance
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
H A D | __init__.py | 85 >>> json.JSONEncoder(default=encode_complex).encode(2 + 1j) 87 >>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j)) 103 'JSONDecoder', 'JSONEncoder', 109 from .encoder import JSONEncoder namespace 111 _default_encoder = JSONEncoder( 169 To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the 171 the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. 182 cls = JSONEncoder 233 To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the 235 the ``cls`` kwarg; otherwise ``JSONEncoder`` i [all...] |
H A D | encoder.py | 1 """Implementation of JSONEncoder 70 class JSONEncoder(object): class in inherits:object 104 """Constructor for JSONEncoder, with sensible defaults. 181 return JSONEncoder.default(self, o) 189 >>> JSONEncoder().encode({"foo": ["bar", "baz"]}) 218 for chunk in JSONEncoder().iterencode(bigobject):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
H A D | __init__.py | 85 >>> json.JSONEncoder(default=encode_complex).encode(2 + 1j) 87 >>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j)) 103 'JSONDecoder', 'JSONEncoder', 109 from .encoder import JSONEncoder namespace 111 _default_encoder = JSONEncoder( 169 To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the 171 the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. 182 cls = JSONEncoder 233 To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the 235 the ``cls`` kwarg; otherwise ``JSONEncoder`` i [all...] |
H A D | encoder.py | 1 """Implementation of JSONEncoder 70 class JSONEncoder(object): class in inherits:object 104 """Constructor for JSONEncoder, with sensible defaults. 181 return JSONEncoder.default(self, o) 189 >>> JSONEncoder().encode({"foo": ["bar", "baz"]}) 218 for chunk in JSONEncoder().iterencode(bigobject):
|
Completed in 104 milliseconds