Opened 14 years ago

Closed 14 years ago

#5790 closed enhancement (fixed)

[patch][cla] Advanced JSON {de}serialization support

Reported by: kriszyp Owned by: Dustin Machi
Priority: high Milestone: 1.1
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:


I would like to add advanced JSON {de}serialization capabilities. This augments the dojo.toJson and dojo.fromJson with capabilities to handle JSON referencing (, symmetrical date conversion with optional advice from JSON Schemas, and other capabilities which are beyond the scope of the JSON capabilities in dojo base. This will be a dependency of the new JsonRestStore? service which is API implementation for the new REST service which is covered by the ticket #5712 ( By providing this functionality at the serialization level, other services can utilize the referencing and date resolution capabilities. I propose adding this as a package at dojox.json.ref, but certainly would be willing to put it elsewhere.

Attachments (1) (7.8 KB) - added by kriszyp 14 years ago.
Implementation for dojox.rpc

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by kriszyp

I think this may be better refactored to be part of dojox.rpc (as dojox.rpc.JsonReferencing?)

Changed 14 years ago by kriszyp

Attachment: added

Implementation for dojox.rpc

comment:2 Changed 14 years ago by dante

Component: GeneralDojox
Owner: changed from anonymous to Dustin Machi
Summary: Advanced JSON {de}serialization support[patch][cla] Advanced JSON {de}serialization support

comment:3 Changed 14 years ago by Dustin Machi

(In [12525]) updates to rest for new rpc service as well as JsonReferencing? and some rest stores based on rpc. The rest stores can (should?) be moved to at the right time. patches from Kris Zyp (CLA on file). refs #5790. Some of the stores still have some issues, but this checkin bypasses them with !strict since they are not yet in use and I need to collaborate with the author some more on them

comment:4 Changed 14 years ago by Dustin Machi

Resolution: fixed
Status: newclosed

fixed, still some further work on new stores, but they can be tracked separately.

Note: See TracTickets for help on using tickets.