zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04437
[Bug 920717] Re: json 2.0 bug: json:serialize(json:parse(VALID_JSON))
Ok, I was able to reproduce it. But it's not due to the no-copy rule: I
get the same error if I disable that rule. I will investigate further.
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/920717
Title:
json 2.0 bug: json:serialize(json:parse(VALID_JSON))
Status in Zorba - The XQuery Processor:
New
Bug description:
Should be possible to call json:serialize(json:parse(VALID_JSON))
where VALID_JSON is any valid JSON string
see added failing test test/rbkt/zorba/json/json-snelson-serialize-parse:
import module namespace json="http://www.zorba-xquery.com/modules/converters/json";
declare variable $json-value := '{"html":"<b>bold</b>"}';
json:serialize(json:parse($json-value))
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/920717/+subscriptions
References