code: def as_json(obj: JsonObj, indent: Optional[str]='   ', **kwargs) -> str:
      
      return obj._as_json_dumps(indent, **kwargs)
docs: Convert obj to json string representation.
  
          :param obj: pseudo 'self'
          :param indent: indent argument to dumps
          :param kwargs: other arguments for dumps
          :return: JSON formatted string