.. include:: ../global.rst .. idio:currentmodule:: json5 json5 Functions --------------- .. _`json5/parse-file`: .. idio:function:: json5/parse-file file parse the JSON5 in ``file`` :param file: file :type file: pathname or string :return: value :rtype: any .. _`json5/parse-fd`: .. idio:function:: json5/parse-fd fd parse the JSON5 in ``fd`` :param fd: fd :type fd: file descriptor :return: value :rtype: any .. _`json5/parse-string`: .. idio:function:: json5/parse-string string parse the JSON5 in ``string`` :param string: string :type string: string :return: value :rtype: any .. _`json5/generate`: .. idio:function:: json5/generate v [handle] generate the JSON5 UTF-8 for ``v`` :param v: value :type v: JSON5 compatible value :param handle: output handle :type handle: handle :return: JSON5 representation of ``v`` :rtype: string / #unspec See also :ref:`json5/generate-json ` .. _`json5/generate-json`: .. idio:function:: json5/generate-json v [handle] generate the JSON UTF-8 for ``v`` :param v: value :type v: JSON compatible value :param handle: output handle :type handle: handle :return: JSON representation of ``v`` :rtype: string / #unspec See also :ref:`json5/generate ` .. include:: ../commit.rst