Hi Sam You are right: I did have a look at my CRX instance, Sling6 outputs correct json, my bad.
Cheers Chris On Mon, Jan 2, 2012 at 3:07 PM, sam ” <[email protected]> wrote: > sling json servlet outputs valid json. > your custom servlet might not. > > do you have an example url where sling outputs invalid json? > > > On Mon, Jan 2, 2012 at 8:10 AM, Christian Sprecher <[email protected] > >wrote: > > > Hi all > > > > According to http://www.json.org/, the keys in JSON should be strings, > > i.e. > > double quoted, which Sling doesn't provide ootb. What is the best > strategy > > to correct this? Is it possible to overwrite the default behaviour? > > > > Cheers > > > > Chris > > >
