~zorba-coders/zorba/bugs-912586-912593-912722

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/json/json-snelson-serialize-object-02.xq

  • Committer: Cezar Andrei
  • Date: 2012-03-28 15:42:12 UTC
  • mfrom: (10606.1.129 zorba)
  • Revision ID: cezar.lp@cezarandrei.com-20120328154212-jh2heq49xcqjppce
Merge from trunck and resolve ChangeLog conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace json = "http://www.zorba-xquery.com/modules/converters/json";
 
2
 
 
3
let $json :=
 
4
  <json type="object">
 
5
    <pair name="a" type="number">1</pair>
 
6
    <pair name="b" type="number">2</pair>
 
7
  </json>
 
8
return json:serialize( $json )
 
9
(: vim:set et sw=2 ts=2: :)