Skip to content

Commit

Permalink
more examples to header
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Dec 31, 2019
1 parent ccee0b5 commit d5d3295
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/hashes/fnc_parseJSON.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Examples:
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
(end)
Author:
Expand Down

0 comments on commit d5d3295

Please sign in to comment.