jsonToGameValue

From Bohemia Interactive Community
Revision as of 18:42, 7 December 2023 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Try to convert the provided JSON to game value.
Groups:
Argo

Syntax

Syntax:
jsonToGameValue json
Parameters:
json: String
Return Value:
Anything

Examples

Example 1:
_num = jsonToGameValue "3.14"; _arrOfKeyValues = jsonToGameValue "{ 'key0': false, 'key1': 'value', 'key2', 2 }";

Additional Information

See also:
gameValueToJson toString str parseSimpleArray

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note