Argumenty
any
wymagane
Value do encode i decode. Supported JSON values przechodza round-trip przez JSON; unsupported types sa kodowane jako null, chyba ze encode options zazadaja bledu.
EncodeOptions
Optional encode options przekazywane do encode step, takie jak sortKeys, emptyTableAsArray, errorOnUnsupported, encodeInvalidNumbersAsNull, maxDepth, pretty i indent.
Zwroty
any
Decoded value utworzony z encoded JSON. Objects i arrays sa new tables z JSON kind markers z decoder; JSON null values staja sie json.null.