code: def register_default_json(
      conn_or_curs=None, globally=False, loads=None
  ):
      """
      Create and register :sql:`json` typecasters for PostgreSQL 9.2 and following.
  
      Since PostgreSQL 9.2 :sql:`json` is a builtin type, hence its oid is known
      and fixed. This function allows specifying a customized *loads* function
      for the default :sql:`json` type without querying the database.
      All the parameters have the same meaning of `register_json()`.
      """
      return register_json(
          conn_or_curs=conn_or_curs,
          globally=globally,
          loads=loads,
          oid=JSON_OID,
          array_oid=JSONARRAY_OID,
      )
  
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 2 for calling a global function with example usage: register_default_json(conn_or_curs, globally, loads) and returns: register_json