1
import module namespace json = "http://www.zorba-xquery.com/modules/converters/json";
2
import schema namespace html-options="http://www.zorba-xquery.com/modules/converters/json-options";
4
declare variable $local:json :=<json type="object">
5
<pair name="servlet" type="array">
7
<item type='string'>212 732-1234</item>
12
json:serialize($local:json,<options xmlns="http://www.zorba-xquery.com/modules/converters/json-options" >
13
<json-param name="mapping" value="simple-json" />