I'm creating an API which should output its data in both JSON and XML (depending on a user controlled parameter). I'm a bit confused as to when using normal lua libraries (e.g. http://regex.info/blog/lua/json and http://viremo.eludi.net/LuaXML/) negatively affect blocking. Is it safe to use these or is there a better way to format output in OpenResty?
thanks,
- G