Issue Details (XML | Word | Printable)

Key: JSON_PROCESSING_SPEC-50
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jitu
Reporter: srivastava.apoorvkumar
Votes: 0
Watchers: 0
Operations

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

Error in JavaDoc for JSONObjectBuilder

Created: 31/Jan/13 12:18 PM   Updated: 31/Jan/13 07:56 PM   Resolved: 31/Jan/13 07:56 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-pfd

Time Tracking:
Not Specified

Tags:
Participants: jitu and srivastava.apoorvkumar


 Description  « Hide

The JavaDoc has a sample JSONString

{
"firstName": "John", "lastName": "Smith", "age": 25,
"address" : { "streetAddress", "21 2nd Street", "city", "New York", "state", "NY", "postalCode", "10021" },
"phoneNumber": [
{ "type": "home", "number": "212 555-1234" },

{ "type": "fax", "number": "646 555-4567" }

]
}

Here the the value for key "address" is erroneous. It should either be an array or it should be converted in list of json key value pair using ' : ' .



jitu added a comment - 31/Jan/13 07:56 PM

Fixing the typo as indicated in the issue

------------
[master 982aeae] JSON_PROCESSING_SPEC-50 Fixing typo in JSON text