See professorcook.org/lua/json.zip for a demo project.
Specify all your display/sound resources in JSON then load each one on demand.
The assets module includes a "show" method that can be used to tune resources on different platforms by playing through a JSON file independent of any application.
JSON
Some functions to make reading and writing files a little easier. The premise is that a function which reads (returns the contents of a file) will also write if provided data to save.
Easier to write than normal Lua syntax, just as fast as JSON, and very human-readable, Cyan is the most flexible table serialization notation ever. It comes in a single code file and uses two function calls to decode/encode Cyan notation or tables.