13 Mar
2011
13 Mar
'11
9:29 a.m.
Hello, I just upgraded from Dancer 1.2 to latest (1.3XX) and my JSON output changed from un-pretty to pretty. set serializer => 'JSON'; get '/products' => sub { return db_products(); }; I see the option in the docs but cannot figure out how to use it. In "config.yml", I tried : engines: JSON: pretty: 0 But that makes no difference. How do I turn off "pretty"? Cheers, -- Alastair Sherringham http://www.sherringham.net