class_docstr: Create a client for talking to json.
  
  :param decoder:
  :type json.JSONDecoder: An instance of json.JSONDecoder
  
  :param encoder:
  :type json.JSONEncoder: An instance of json.JSONEncoder
class_docstr_tok: ["Create","a","client","for","talking","to","json",".",":","param","decoder",":",":","type","json.JSONDecoder",":","An","instance","of","json.JSONDecoder",":","param","encoder",":",":","type","json.JSONEncoder",":","An","instance","of","json.JSONEncoder"]
docstr: Get the encoder.
docstr_tok: ["Get","the","encoder","."]
code: def _encode(self, obj):
      """Get the encoder."""
      return self.__encoder__.encode(obj)
  
file_path: redis-py/redis/commands/json/__init__.py
imports: from json import JSONDecodeError, JSONDecoder, JSONEncoder
  import redis
  from ..helpers import get_protocol_version, nativestr
  from .commands import JSONCommands
  from .decoders import bulk_of_jsons, decode_list
label_desc: Use image node_id 3 for calling the JSON obj's underlying member method code with example usage: obj._encode(obj) and returns: self