I’m trying to setup some unit tests with http://olivinelabs.com/busted/ outside of Solar2D.
I can’t find a json library which behaves like the one in Solar2D.
- It uses . not : for calls (
json.decode
,json.encode
etc) - it has
json.prettify
Does anybody know which json library Solar2D uses, and can I install it with luarocks to run with busted?
Here it appears to use dkjson, but this doesn’t have prettify. Is it a custom library?