fromJSON: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Fix bad copy/paste) |
||
Line 26: | Line 26: | ||
|x1= <sqf> | |x1= <sqf> | ||
private _myNumber = fromJSON "42"; // _myNumber is 42 | private _myNumber = fromJSON "42"; // _myNumber is 42 | ||
private _myString = fromJSON """Hello there"""; // | private _myString = fromJSON """Hello there"""; // _myString is "Hello there" | ||
private _myArray = fromJSON "[42, ""Hello there"", true]"; // _myArray is [42, "Hello there", true] | private _myArray = fromJSON "[42, ""Hello there"", true]"; // _myArray is [42, "Hello there", true] | ||
</sqf> | </sqf> |
Revision as of 17:33, 8 September 2024
Description
Syntax
Examples
- Example 1:
Additional Information
- See also:
- toJSON 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