zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12622
[Bug 1029292] [NEW] Consolidate JSON serialization code
Public bug reported:
Paul has recently consolidated some of the JSON module serialization
code, in particular adding a single function for escaping JSON strings
(zorba::json::serialize(ostream&, char const*)).
We should ensure we are using this code in all places that it makes
sense, most specifically in the JSONiq serialization code
(src/api/serialization/serializer.cpp, class json_emitter).
If there are other avenues for code sharing (eg., for JSON objects and
arrays), they should be taken as well.
** Affects: zorba
Importance: Medium
Assignee: Paul J. Lucas (paul-lucas)
Status: New
** Changed in: zorba
Importance: Undecided => Medium
** Changed in: zorba
Assignee: (unassigned) => Paul J. Lucas (paul-lucas)
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1029292
Title:
Consolidate JSON serialization code
Status in Zorba - The XQuery Processor:
New
Bug description:
Paul has recently consolidated some of the JSON module serialization
code, in particular adding a single function for escaping JSON strings
(zorba::json::serialize(ostream&, char const*)).
We should ensure we are using this code in all places that it makes
sense, most specifically in the JSONiq serialization code
(src/api/serialization/serializer.cpp, class json_emitter).
If there are other avenues for code sharing (eg., for JSON objects and
arrays), they should be taken as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1029292/+subscriptions
Follow ups
References