Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jitu
Reporter: jhorstmann
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

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

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 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 and