json5 Functions

function json5/parse-file file

parse the JSON5 in file

Param file:

file

Type file:

pathname or string

Return:

value

Rtype:

any

function json5/parse-fd fd

parse the JSON5 in fd

Param fd:

fd

Type fd:

file descriptor

Return:

value

Rtype:

any

function json5/parse-string string

parse the JSON5 in string

Param string:

string

Type string:

string

Return:

value

Rtype:

any

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 json5/generate-json

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 json5/generate

Last built at 2024-12-21T07:10:40Z+0000 from 62cca4c (dev) for Idio 0.3.b.6