What would be a good way to approach parsing JSON in Luan?
I am extracting the price of gold from here:
https://query1.finance.yahoo.com/v7/finance/quote?symbols=GC=FFor now I am doing:
String.sub(res,String.find(res,"ask")+5,String.find(res,"bidSize")-3)
where res is the content of the yahoo url I posted. It works, but it will stop working if, for example, a new field is added between "ask" and "bidSize", so I am wondering if there is a built-in way to parse JSON in Luan.