OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JSONEncoder
(Results
1 - 22
of
22
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_recursion.py
47
class RecursiveJSONEncoder(self.json.
JSONEncoder
):
55
return pyjson.
JSONEncoder
.default(o)
98
class EndlessJSONEncoder(self.json.
JSONEncoder
):
test_unicode.py
7
encoder = self.json.
JSONEncoder
(encoding='utf-8')
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_recursion.py
47
class RecursiveJSONEncoder(self.json.
JSONEncoder
):
55
return pyjson.
JSONEncoder
.default(o)
98
class EndlessJSONEncoder(self.json.
JSONEncoder
):
test_unicode.py
7
encoder = self.json.
JSONEncoder
(encoding='utf-8')
/external/llvm/utils/lit/lit/
Test.py
3
from json import
JSONEncoder
88
e =
JSONEncoder
()
95
e =
JSONEncoder
(indent=2, sort_keys=True)
/prebuilts/gdb/darwin-x86/lib/python2.7/json/
__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
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
`` is used
[
all
...]
encoder.py
1
"""Implementation of
JSONEncoder
70
class
JSONEncoder
(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/gdb/linux-x86/lib/python2.7/json/
__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
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
`` is used
[
all
...]
encoder.py
1
"""Implementation of
JSONEncoder
70
class
JSONEncoder
(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/darwin-x86/2.7.5/lib/python2.7/json/
__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
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
`` is used
[
all
...]
encoder.py
1
"""Implementation of
JSONEncoder
70
class
JSONEncoder
(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/
__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
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
`` is used
[
all
...]
encoder.py
1
"""Implementation of
JSONEncoder
70
class
JSONEncoder
(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):
/external/autotest/frontend/afe/json_rpc/
proxy.py
29
json_encoder_class = json_encoder.
JSONEncoder
serviceHandler.py
32
json_encoder = encoder.
JSONEncoder
()
/external/chromium-trace/catapult/third_party/pipeline/pipeline/
util.py
20
"
JsonEncoder
",
155
class
JsonEncoder
(json.
JSONEncoder
):
167
return super(
JsonEncoder
, self).default(o)
180
if
JsonEncoder
.TYPE_ID not in d:
183
type_name = d.pop(
JsonEncoder
.TYPE_ID)
/external/chromium-trace/catapult/third_party/webtest/webtest/
utils.py
31
params = dumps(params, cls=self.
JSONEncoder
)
app.py
136
A subclass of json.
JSONEncoder
183
json_encoder = json.
JSONEncoder
184
self.
JSONEncoder
= json_encoder
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
protojson.py
69
if not hasattr(module, '
JSONEncoder
'):
86
class MessageJSONEncoder(json.
JSONEncoder
):
89
Extension of
JSONEncoder
that can build JSON from a message object.
protojson_test.py
448
class
JSONEncoder
(object):
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
json_util.py
20
class
JsonEncoder
(json.
JSONEncoder
):
32
return super(
JsonEncoder
, self).default(o)
45
if
JsonEncoder
.TYPE_ID not in d:
48
type_name = d.pop(
JsonEncoder
.TYPE_ID)
130
return json.dumps(_json, sort_keys=True, cls=
JsonEncoder
)
188
json_value, sort_keys=True, cls=
JsonEncoder
))
/external/autotest/frontend/tko/
graphing_utils.py
56
_json_encoder = encoder.
JSONEncoder
()
Completed in 2001 milliseconds