mdub/representative — pull request #7 by janaz (2012-08-19 03:38:24+00:00)
Title: Indentation

Hi Mike,

I've added an option for Representative::Json to control the number of indent spaces. If the number is set to 0, the generated json doesn't have any unnecessary white spaces, which improves performance by about 5% for some very large data structures. Also the server can save some bandwidth and it takes less time for javascript to download and parse json with no white spaces.

It'd be great if you included that patch in the main Representative repo.

Cheers,
Tomasz