JSON function

$JSON function enables users to get data values or arrays from the file with JSON data. The function has two mandatory parameters:

  1. JSON file1 or resource2 name with source data. String.
  2. Item name3. String.

1 - the following macros can be used as a part of the file name: %APPDATA%, %DOCUMENTS%, %USERPROFILE%, %ALLUSERSPROFILE%
2 - http:// or ftp:// prefix required to access web-based JSON document.
3 - the function will use any scalar value or array with this name.

Limitation: only C++ (Win32) edition of the engine supports this function at the moment.

Example

$JSON(D:\Projects And Files\widget.json,name)