From 0cf4cc1d9db9f819d61a7a9d8c9acd5060edc10a Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 31 Dec 2019 16:16:01 +0100 Subject: [PATCH] more examples to header --- addons/hashes/fnc_parseJSON.sqf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/hashes/fnc_parseJSON.sqf b/addons/hashes/fnc_parseJSON.sqf index 2a1b5fc7e..85425a4f2 100644 --- a/addons/hashes/fnc_parseJSON.sqf +++ b/addons/hashes/fnc_parseJSON.sqf @@ -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: