Method Standards.JSON5.decode_utf8()


Method decode_utf8

array|mapping|string|float|int|object decode_utf8(string s)

Description

Decodes an utf8 encoded JSON5 string. Should give the same result as Standards.JSON5.decode(utf8_to_string(s)).

Throws

Throws an exception in case the data contained in s is not valid JSON5.