Question: Do JSON has a query like function?

Hello guys,

I just want to ask if it is possible to do a query in JSON file? jsut like on SqLite?

thanks in advance

Jam

Not really, because JSON is used for transmitting data. XML does have a query language of sorts, but in Corona we would still convert it into a table.

Corona’s JSON library converts JSON data into a table which can then be inspected as a regular Lua table. You can insert that into a SQLite DB and perform SQL queries on it.

Not really, because JSON is used for transmitting data. XML does have a query language of sorts, but in Corona we would still convert it into a table.

Corona’s JSON library converts JSON data into a table which can then be inspected as a regular Lua table. You can insert that into a SQLite DB and perform SQL queries on it.