Skip to content

json.decode

starkos edited this page Apr 10, 2021 · 2 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Decodes a JSON string into a table.

result, err = json.decode("s")

Parameters

s is the string to decode.

Return Value

result is the resulting table, or nil on failure

err is the error message if there is one available, always set to nil on success

Availability

Premake 5.0 or later.

See Also

Clone this wiki locally