def custom_json(self, id, json_data, required_auths=[], required_posting_auths=[], **kwargs):
    ' Create a custom json operation\n\n            :param str id: identifier for the custom json (max length 32 bytes)\n            :param json json_data: the json data to put into the custom_json\n                operation\n            :param list required_auths: (optional) required auths\n            :param list required_posting_auths: (optional) posting auths\n\n            .. note:: While reqired auths and required_posting_auths are both\n                      optional, one of the two are needed in order to send the custom\n                      json.\n\n            .. code-block:: python\n\n               crea.custom_json("id", "json_data",\n               required_posting_auths=[\'account\'])\n\n        '
    account = None
    if len(required_auths):
        account = required_auths[0]
    elif len(required_posting_auths):
        account = required_posting_auths[0]
    else:
        raise Exception('At least one account needs to be specified')
    account = Account(account, full=False, crea_instance=self)
    op = operations.Custom_json(**{'json': json_data, 'required_auths': required_auths, 'required_posting_auths': required_posting_auths, 'id': id, 'prefix': self.prefix})
    return self.finalizeOp(op, account, 'posting', **kwargs)
Create a custom json operation

:param str id: identifier for the custom json (max length 32 bytes)
:param json json_data: the json data to put into the custom_json
    operation
:param list required_auths: (optional) required auths
:param list required_posting_auths: (optional) posting auths

.. note:: While reqired auths and required_posting_auths are both
          optional, one of the two are needed in order to send the custom
          json.

.. code-block:: python

   crea.custom_json("id", "json_data",
   required_posting_auths=['account'])
def custom_json(self, id, json_data, required_auths=[], required_posting_auths=[], **kwargs):
    ' Create a custom json operation\n\n            :param str id: identifier for the custom json (max length 32 bytes)\n            :param json json_data: the json data to put into the custom_json\n                operation\n            :param list required_auths: (optional) required auths\n            :param list required_posting_auths: (optional) posting auths\n\n            .. note:: While reqired auths and required_posting_auths are both\n                      optional, one of the two are needed in order to send the custom\n                      json.\n\n            .. code-block:: python\n\n               crea.custom_json("id", "json_data",\n               required_posting_auths=[\'account\'])\n\n        '
    account = None
    if len(required_auths):
        account = required_auths[0]
    elif len(required_posting_auths):
        account = required_posting_auths[0]
    else:
        raise Exception('At least one account needs to be specified')
    account = Account(account, full=False, crea_instance=self)
    op = operations.Custom_json(**{'json': json_data, 'required_auths': required_auths, 'required_posting_auths': required_posting_auths, 'id': id, 'prefix': self.prefix})
    return self.finalizeOp(op, account, 'posting', **kwargs)