let $json := doc("tweet.json")
return json:serialize($json)
Where tweet.json is the result from json:parse() (the file is attached).
Returns:
json.xq>:196,3: JSON serialization error [zerr:ZJSE0007]: JSON type "object" can not have a child text node
=================================================
json:serialize#1 <http://www.zorba-xquery.com/modules/converters/json>
The following query: www.zorba- xquery. com/modules/ converters/ json";
import module namespace json = "http://
let $json := doc("tweet.json") $json)
return json:serialize(
Where tweet.json is the result from json:parse() (the file is attached).
Returns: ======= ======= ======= ======= ======= ======= www.zorba- xquery. com/modules/ converters/ json>
json.xq>:196,3: JSON serialization error [zerr:ZJSE0007]: JSON type "object" can not have a child text node
=======
json:serialize#1 <http://