History log of /libcore/json/src/main/java/org/json/JSONObject.java
Revision Date Author Comments
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