sumory / lor

a fast, minimalist web framework for lua based on OpenResty
https://sumory.github.io/lor_site/
MIT License
1.02k stars 182 forks source link

refactor cjson api usage #21

Open sumory opened 8 years ago

ms2008 commented 8 years ago

I had published a post to talk about this issue recently. Also, due to concerns about performance, I proposed not to instansed the cjson object. To sidestep this issue, we just need to avoid the misuse of cjson module strictly. For more detail, take a look at:

lua cjson preemptive issue