This method helps users to extract data from the JSON document and use it as a source. There are two mandatory parameters: file name and item. If the item is scalar, the program will use all possible values with this name from the file. If it is an array, the generator will use all items of the array.
$JSON function provides the user with access to the same functionality.