Issue Details (XML | Word | Printable)

Key: JSON_PROCESSING_SPEC-40
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jitu
Reporter: jhorstmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
json-processing-spec

JsonBuilder and JsonReader should be interfaces

Created: 11/Dec/12 08:09 PM   Updated: 04/Feb/13 05:46 AM   Resolved: 04/Feb/13 05:46 AM
Component/s: None
Affects Version/s: 1.0-pr
Fix Version/s: 1.0-pfd

Time Tracking:
Not Specified

Tags:
Participants: jhorstmann, jitu and wenshao


 Description  « Hide

The current design limits possible performance improvements that could be obtained by custom parser implementations. A cleaner design would let the implementation provide both parser and object model implementations that are better integrated and higher performing.

If we implement http://java.net/jira/browse/JSON_PROCESSING_SPEC-9 a json structure could consist of a mix between implementations from the api package and implementation defined classes.

Builders would be created by static methods of the Json class or a JsonBuilderFactory created via the Json class.
JsonReader would require a JsonReaderFactory with similar methods to JsonParserFactory.

Discussion at http://java.net/projects/json-processing-spec/lists/users/archive/2012-12/message/9 and http://java.net/projects/json-processing-spec/lists/users/archive/2012-12/message/54



No work has yet been logged on this issue.