Opened 14 years ago
Closed 14 years ago
#1570 closed task (fixed)
Use JSON for data transport in AJAX calls
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.17 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
We are currently using a homegrown tab-separated text format which comes with all the problems related to handling special characters, etc. Ok... most of this has been fixed, but it is still a bit cumbersome to generate and parse.
JSON is becoming a de-facto standard in web applications. There is plenty of existing libraries to use on the server-side and newer browsers have built-in support for parsing it. The format as such is also a lot more flexible than our homegrown format.
Change History (7)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
comment:4 by , 14 years ago
(In [5555]) References #1570: Use JSON for data transport in AJAX calls
Implemented this for lazy loading of subdirectories in the file manager. Deprecated the AjaxWriter class.
comment:5 by , 14 years ago
comment:6 by , 14 years ago
comment:7 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'll start by changing the file upload progress as a prototype implementation.
http://code.google.com/p/json-simple/ seems like a good implementation that is easy to use (on the server side).