MintXeido I know that the JSON Module is only used to make Print() and HTTP Requests & only for use to communicate with APIs, I'm curious if this module can be used to modify & read a JSON File's Strings, Numbers, Booleans & Arrays Data.
Samir Yes you can easily do that by reading file content with sys.File and provide it to the json.decode() function
MintXeido Yeah I’ve had tried that but my whole application crashes and no error outputs is shown and when trying to use file:write(json.decode([“TABLE”])) on the json file, it ends up crashing LuaRT & ends up leaving blank (like removing everything and leaving no data) on the JSON File.
Samir You should use json.encode() to convert a table to a json encoded string and then write it to a File