Function
Fast
File:ReadJSONAsync
Reads the whole file as a JSON and returns it asynchronously.
Syntax
my_file:ReadJSONAsync(callback)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
callback
|
function | — | Callback with the file read
Callback signature
function(file_content)
|