Home
last modified time | relevance | path

Searched refs:JSONEncoder (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/json/
D__init__.py107 from .encoder import JSONEncoder
110 _default_encoder = JSONEncoder(
172 cls = JSONEncoder
233 cls = JSONEncoder
Dencoder.py73 class JSONEncoder(object): class
/third_party/python/Lib/test/test_json/
Dtest_recursion.py47 class RecursiveJSONEncoder(self.json.JSONEncoder):
55 return self.json.JSONEncoder.default(o)
90 class EndlessJSONEncoder(self.json.JSONEncoder):
Dtest_speedups.py73 self.json.encoder.JSONEncoder(**{name: BadBool()}).encode({'a': 1})
82 self.json.encoder.JSONEncoder(sort_keys=True).encode({'a': 1, 1: 'a'})
/third_party/python/Doc/library/
Djson.rst90 Extending :class:`JSONEncoder`::
93 >>> class ComplexEncoder(json.JSONEncoder):
98 ... return json.JSONEncoder.default(self, obj)
201 To use a custom :class:`JSONEncoder` subclass (e.g. one that overrides the
203 *cls* kwarg; otherwise :class:`JSONEncoder` is used.
402 .. class:: JSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, s…
503 return json.JSONEncoder.default(self, o)
511 >>> json.JSONEncoder().encode({"foo": ["bar", "baz"]})
520 for chunk in json.JSONEncoder().iterencode(bigobject):
560 For simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc1253 class JSONEncoder : public StreamingParserHandler { class
1255 JSONEncoder(const Platform* platform, C* out, Status* status) in JSONEncoder() function in v8_inspector_protocol_encoding::json::__anoncbbfc21e0611::JSONEncoder
1499 new JSONEncoder<std::vector<uint8_t>>(platform, out, status)); in NewJSONEncoder()
1505 new JSONEncoder<std::string>(platform, out, status)); in NewJSONEncoder()
/third_party/cef/tools/cefbuilds/
Dcef_json_builder.py69 class cef_json_encoder(json.JSONEncoder):
/third_party/python/Lib/test/libregrtest/
Druntest_mp.py492 class EncodeTestResult(json.JSONEncoder):
/third_party/ejdb/src/bindings/ejdb2_flutter/ios/Classes/
DSwiftEjdb2FlutterPlugin.swift467 let data = String(data: try JSONEncoder().encode(info), encoding: .utf8) in info()
/third_party/python/Misc/NEWS.d/
D3.6.0a3.rst144 and JSONEncoder and JSONDecoder class constructors in the json module are
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template1261 class JSONEncoder : public StreamingParserHandler {
1263 JSONEncoder(const Platform* platform, C* out, Status* status)
1507 new JSONEncoder<std::vector<uint8_t>>(platform, out, status));
1513 new JSONEncoder<std::string>(platform, out, status));
/third_party/python/Doc/whatsnew/
D3.6.rst2228 :class:`~json.JSONEncoder` and :class:`~json.JSONDecoder` class
/third_party/python/Doc/howto/
Dlogging-cookbook.rst1802 class Encoder(json.JSONEncoder):