Deserializes a JSON string.
_json | String containing valid JSON. STRING |
_useHashes | Output CBA hashes instead of namespaces (optional, default: false) <BOOLEAN> |
_object | The deserialized JSON object or nil if JSON is invalid. <LOCATION, ARRAY, STRING, NUMBER, BOOL, NIL> |
private _json = "{ ""enabled"": true }"; private _settings = [_json] call CBA_fnc_parseJSON; private _enabled = _settings getVariable "enabled"; loadFile "data\config.json" call CBA_fnc_parseJSON [preprocessFile "data\config.json", true] call CBA_fnc_parseJSON
BaerMitUmlaut