class_docstr: An `~psycopg2.extensions.ISQLQuote` wrapper to adapt a Python object to
  :sql:`json` data type.
  
  `!Json` can be used to wrap any object supported by the provided *dumps*
  function. If none is provided, the standard :py:func:`json.dumps()` is
  used.
class_docstr_tok: ["An","`","~psycopg2.extensions.ISQLQuote","`","wrapper","to","adapt","a","Python","object","to",":","sql",":","`","json","`","data","type",".","`","!","Json","`","can","be","used","to","wrap","any","object","supported","by","the","provided","*","dumps","*","function",".","If","none","is","provided",",","the","standard",":","py",":","func",":","`","json.dumps","(",")","`","is","used","."]
code: def __str__(self):
      # getquoted is binary
      return self.getquoted().decode("ascii", "replace")
  
file_path: psycopg2/lib/_json.py
imports: import json
  from psycopg2._psycopg import ISQLQuote, QuotedString
  from psycopg2._psycopg import new_type, new_array_type, register_type
label_desc: Use image node_id 6 for calling the Json obj's underlying member method code with example usage: obj.__str__() and returns: self