[JSON_PROCESSING_SPEC-39] JSON API renaming: s/JsonArray/JsonList and s/JsonObject/JsonMap Created: 11/Dec/12 Updated: 13/Dec/12 Resolved: 13/Dec/12
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Mark Reinhold's feedback
In Java terms, what JSON calls an "Object" is just a map, from strings to
This suggests a renaming along these lines:
JsonObject --> JsonMap
I think Java developers would find this more natural, since most will
Remember that this API is for Java developers, not readers of the JSON
|Comment by jitu [ 11/Dec/12 ]|
I received the same feedback from Brian Goetz earlier. But some libraries are already using JsonObject and JsonArray, so we continued that naming. But this API is for Java developers, so we should follow what is suggested by Mark and Brian.
This would also mean we need to change in other places
JsonArray --> JsonList
|Comment by jitu [ 13/Dec/12 ]|
Based on the discussion, resolving this one with no action.