1
(: type attribute missing :)
3
import module namespace json = "http://www.zorba-xquery.com/modules/converters/json";
4
import schema namespace html-options="http://www.zorba-xquery.com/modules/converters/json-options";
6
json:serialize((<json type="object">
7
<pair name="name">value</pair>
8
</json>),<options xmlns="http://www.zorba-xquery.com/modules/converters/json-options" >
9
<json-param name="mapping" value="simple-json" />