code: def default(self, obj):
      return geojson.factory.GeoJSON.to_instance(obj)
  
file_path: geojson/geojson/codec.py
imports: import geojson
  import geojson.factory
  from geojson.mapping import to_mapping
label_desc: Use image node_id 1 for calling the GeoJSONEncoder obj's underlying member method code with example usage: obj.default(obj) and returns: geojson