I like that my json output is well formatted even for the REST API. This helps with debugging, etc. Extra overhead is minimal, especially when using gzip
Anyway, to tell the jony pyramid to the renderer (i.e. this thing)
@view_config(request_method='POST', renderer='json')
to output formatted, fairly printed output?
source share