Issue Details (XML | Word | Printable)

Key: JSON_PROCESSING_SPEC-16
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: wenshao
Votes: 0
Watchers: 0
Operations

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

java bean direct to json string

Created: 24/Oct/12 05:11 AM   Updated: 25/Oct/12 01:42 AM   Resolved: 25/Oct/12 01:42 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: jitu and wenshao


 Description  « Hide

now jsonp only support:
json object -> json string
json string -> json object

it should support:
javabean -> json string
json string -> java bean

it's simple use, and good performance.

like fastjson's api:

com.alibaba.fastjson.JSON.toJSONString(Object)

demo:
https://github.com/AlibabaTech/fastjson/blob/master/src/test/java/com/alibaba/json/demo/Demo2.java



Sort Order: Ascending order - Click to sort in descending order
jitu made changes - 25/Oct/12 01:42 AM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Fix [ 2 ]