I am trying to create an app where I will gather information from a Jason API, and easily choose print information I will choose the parameters.
What is the easiest way to print each information? (The code example is appreciated)
Was thinking about something in the way of making the string, and then requesting each parameter like that, but I do not know how to do this What is this.
Thanks in advance
Here's just a sample code for decoding Jason data Make a Jason text file, if you have given the link and decode it, it expects
local json = "json" local path of local txt = system.pathForFile ("Json.txt", local file = io.open (path, "r") for the line in the system file: lines () txt = line end print (txt) local t = json.decode (txt) print ( T ["pool_name"] print (T ["Network_sheath"]) Print (T ["Work" Pre>
No comments:
Post a Comment