json serialization

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

json serialization

mountainbiker
With eXist 2.2 -- json serialization has "json:array" to force an array vs. maybe a single string.  Is there a similar way to force a true/false string to be a boolean?
Reply | Threaded
Open this post in threaded view
|

Re: json serialization

Wolfgang Meier-2
> With eXist 2.2 -- json serialization has "json:array" to force an array vs.
> maybe a single string.  Is there a similar way to force a true/false string
> to be a boolean?

Just add an attribute json:literal="true“ to the surrounding element.

Wolfgang
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open