Hi,

Thanks for getting back to me.

The reason I want to remove it is that its not valid JSON. Parsing it in
the UI works fine by using the response['corona:total'] but its a lot
cleaner just to have the attributes and use dot notation on each one.

Its only a minor thing but was curious if there was an option to turn it
off after seeing on the api docs that it displays without the namespace.

Regards

Andy

On Wed, Apr 25, 2012 at 12:21 PM, Clark Richey
<[email protected]>wrote:

> Andy,
> There is no way to do that at this time. Can you please explain why you
> wish to remove the namespace?
>
> Sent from my iPhone
>
> On Apr 25, 2012, at 6:45, "Andy Fitzgerald" <[email protected]>
> wrote:
>
> > Hi there,
> >
> > Looking for a way to change the default namespace coming back in the
> json feed. Currently when a Search query returns we get the following:
> >
> >
> {"corona:response":{"corona:meta":{"corona:start":"1","corona:end":"2","corona:total":"3267","corona:executionTime":"0.01"}
> ...
> >
> > I am looking to remove the corona namespace and get the following back:
> >
> >
> {"response":{"meta":{"start":"1","end":"2","total":"3267","executionTime":"0.01"}
> ...
> >
> > I'm looking the output options to see if I can change it but I am not
> sure which one to choose.
> >
> > Thanks,
> >
> > Andy
> >
> >
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to