[vlc-devel] [PATCH] http lua: do not include useless characters in json responses
tristan.lanfrey at gmail.com
Sun Mar 4 19:44:20 CET 2012
On Sun, Mar 4, 2012 at 5:13 PM, Rob Jonson <rob at hobbyistsoftware.com> wrote:
> On 4 March 2012 01:36, Tristan Lanfrey <tristan.lanfrey at gmail.com> wrote:
>> Removing newline and space characters makes responses lighter
>> (especially when requesting a playlist with meta data)
> removing spaces and newlines also makes the responses much harder to
> read for humans.
> From json.org :
> format. It is easy for humans to read and write.'
> personally I'd rather accept the small extra weight for the advantage
> of being able to read the output when debugging / developing
> if you are going to go this way, then let's at least make it not strip
> formatting when the params have &debug in them
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 866 bytes
Desc: not available
More information about the vlc-devel