MCPcopy Create free account
hub / github.com/btbytes/teh / encode_default

Method encode_default

lib/demjson.py:1884–1891  ·  view source on GitHub ↗

This method is used to encode objects into JSON which are not straightforward. This method is intended to be overridden by subclasses which wish to extend this encoder to handle additional types.

( self, obj, nest_level=0 )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encode_compositeMethod · 0.95

Calls 1

JSONEncodeErrorClass · 0.85

Tested by

no test coverage detected