~zorba-coders/zorba/bug-1189785-csv

« back to all changes in this revision

Viewing changes to test_json/Queries/converters/jansson/parse_json_06.xq

  • Committer: Tarmac
  • Author(s): Paul J. Lucas
  • Date: 2012-01-24 01:56:27 UTC
  • mfrom: (79.1.1 data-converters-module)
  • Revision ID: tarmac-20120124015627-v8to61s7w8of53m6
Removed old JSON module. Approved: Matthias Brantner, Paul J. Lucas

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(: json:parse with uncommon characters :)
2
 
 
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";
5
 
 
6
 
json:parse('{ "web-app": "!_\"-\\?*.$+" }',<options xmlns="http://www.zorba-xquery.com/modules/converters/json-options" >
7
 
              <json-param name="mapping" value="simple-json" />
8
 
            </options>)