[JSON_PROCESSING_SPEC-50] Error in JavaDoc for JSONObjectBuilder Created: 31/Jan/13  Updated: 31/Jan/13  Resolved: 31/Jan/13

Status: Resolved
Project: json-processing-spec
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-pfd

Type: Improvement Priority: Major
Reporter: srivastava.apoorvkumar Assignee: jitu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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 ' : ' .



 Comments   
Comment by jitu [ 31/Jan/13 ]

Fixing the typo as indicated in the issue

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

Generated at Thu Sep 03 21:58:25 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.