Lines Matching defs:default
77 Supports the following objects and types by default:
98 ``.default()`` method with another method that returns a serializable
107 indent=None, separators=None, default=None):
138 tuple. The default is (', ', ': ') if *indent* is ``None`` and
142 If specified, default is a function that gets called for objects
158 if default is not None:
159 self.default = default
161 def default(self, o):
167 implement default like this::
169 def default(self, o):
176 # Let the base class default method raise the TypeError
177 return JSONEncoder.default(self, o)
250 markers, self.default, _encoder, self.indent,
255 markers, self.default, _encoder, self.indent, floatstr,