~zorba-coders/zorba/bug1123016

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/json/json-jsonml_array-parse-08.xq

  • Committer: Sorin Marian Nasoi
  • Date: 2013-04-09 11:44:43 UTC
  • mfrom: (11301.1.53 zorba)
  • Revision ID: spungi@gmail.com-20130409114443-89vz57gpyjzwoiok
Merged lp:zorba trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace json =
 
2
  "http://www.zorba-xquery.com/modules/converters/json";
 
3
 
 
4
let $opt :=
 
5
  <options xmlns="http://www.zorba-xquery.com/modules/converters/json-options">
 
6
    <json-format value="JsonML-array"/>
 
7
  </options>
 
8
let $json := '[ { "x" : "x" } ]'
 
9
return json:parse( $json, $opt )
 
10
 
 
11
(: vim:set et sw=2 ts=2: :)