690809fda4e0822f279f64c35d8775d76212179f |
|
16-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Add missing JSONObject#keySet API. Also, add type arguments to the old Iterator API. Note that this is source incompatible with wrongly generified code (example: "Iterator<Object> keys = jsonObject.keys();") but is compatible with old code that didn't use any type arguments. Users compiling against the new SDK might see compile breakages. bug: https://code.google.com/p/android/issues/detail?id=63191 Change-Id: Idf2ef1889dccb4309c843ab073f67af648b09436
|
86f018c835a271d7fa63be70e6e0602f22868d8e |
|
13-Jan-2014 |
Narayan Kamath <narayan@google.com> |
Fix docs build. Javadoc referred to a hidden method via a {@link} tag. Change-Id: I18fc8a05aacd17bdc5fffe4f08870aa3d6d47b93
|
2ea1d56a1f70aeb0441209cda10756a301474bf4 |
|
10-Jan-2014 |
Narayan Kamath <narayan@google.com> |
Implement JSONObject#append. It provides better semantics that accumulate. In particular, the type of the mapping does not depend on the number of calls to the function. Change-Id: Ib8f9d229d8de72d57b25ff9d69c69a61215c2fd7
|
319bef83054979209a01b484af34ce1087d28559 |
|
10-Jan-2014 |
Narayan Kamath <narayan@google.com> |
Fix JSONObject#test_toString_listAsMapValues Changed the map type in JSONObject to a LinkedHashMap so that its iteration order is well defined. bug: 12476022 Change-Id: I8f2e40fd6bca5f776396aba4c9fde6e9d58f662e
|
1c7e33217d1ce3d85381146f9092f8fbb56d1846 |
|
12-Oct-2013 |
Elliott Hughes <enh@google.com> |
Make JSONObject summary documentation clearer. The class documentation makes the difference between the 'get' and 'opt' methods very clear, but it's less clear to anyone just looking at the summary of methods. Bug: https://code.google.com/p/android/issues/detail?id=60998 Change-Id: I17eeaea182a9dbad7be9fbd55086977b512b6fa8
|
3ad786880c88955a0e92610d24bb9bbe51b0e14c |
|
10-Jul-2013 |
Elliott Hughes <enh@google.com> |
Implement JSONObject.wrap, and use it. Bug: https://code.google.com/p/android/issues/detail?id=55114 Change-Id: Ic2e010ac616f24dda7b8abced7eb2fc84dc7d50e
|
e8e2a30399e54e36ad138e6299f3364cce2656c7 |
|
21-Feb-2013 |
Elliott Hughes <enh@google.com> |
Be explicit about how dangerous JSON "longs" are. Bug: https://code.google.com/p/android/issues/detail?id=47878 Change-Id: I0cd05348708a2374a0e301f778bc2ed29cc38f94
|
c2d0a1f1bd2c6414c29dd44fe240dcf1f45e59b9 |
|
04-Dec-2012 |
Elliott Hughes <enh@google.com> |
Add detail messages to all remaining NullPointerExceptions. I've left java.util.concurrent alone, since that's upstream code. Change-Id: I349960aaddb78e55d4c336b58b637009db69ff98
|
661054f5a2f7f8f5f3ceffb97e803211b546e7fc |
|
08-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix string to boolean coercsion. When we reimplemented this API I broke consistency with org.json. Bringing it back into line makes the implementation more strict (my preference) and makes us consistent with ourselves before this code was redone. Bug: http://code.google.com/p/android/issues/detail?id=16411 Change-Id: I8c1b52e382ad91932d3cf9a5b346db58df4da7c6
|
adfb1bcaae256f9bd591b90a5b05d30e777e27c6 |
|
25-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Test and document our handling of nulls with getString(). Our behaviour is consistent with Crockford's. The test confirms that the behaviour is consistent with the report of that bug, which the submitter claims is not how it should behave. http://code.google.com/p/android/issues/detail?id=7257 Change-Id: Ibace4bd995e3cbc8fb6c9dc509f8f4491865a647
|
95cf9534436835291927cb4bcb36842731319da8 |
|
18-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Drop needless parens from Javadoc. Although this violates my longstanding style preference, it agrees with almighty JJB's official ArrayList, which is Good Enough For Me. Change-Id: I7b608c12e04d0b7789bfcabeab4b7347ad22baca
|
334e613308e7e39d9f58e9efbb0ea491c5e18841 |
|
18-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Javadoc for JSONArray. Change-Id: I3aced2607b48210f76887e0d42b591c098ce5db7
|
1483c41ab440a713e2b935801792da9039ec5d61 |
|
17-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Javadocs for JSONObject. Change-Id: I5ec9df6a3a9baac8f4f498890cd35feff774737a
|
014aa1a70743ae7e6ec0de1555f5b43d43844cf4 |
|
13-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Adding an Apache-licensed implementation of org.json Change-Id: I1b67bac70bd25220a619e6ebe61f7f1c6f316faa
|
9e17204aa78c2687a2c6763dd74201a53a620614 |
|
13-Mar-2010 |
Jesse Wilson <jessewilson@google.com> |
Removing the non-free org.json implementation Change-Id: Ife53082824f5916665f198d4b2fb863271841ce0
|
adc854b798c1cfe3bfd4c27d68d5cee38ca617da |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1c0fed63c71ddb230f3b304aac12caffbedf2f21 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
fdb2704414a9ed92394ada0d1395e4db86889465 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|