Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Veloce

File:ReadJSONAsync

Reads the whole file as a JSON and returns it asynchronously.

Non ancora tradotto

Sintassi

Lua
my_file:ReadJSONAsync(callback)

Parametri

Nome Tipo Predefinito Descrizione
callback function Callback with the file read
Firma della callback function(file_content)
  • file_content table File content in table format