- Addition of
allowDuplicates
boolean field toJSONObject
class. Iffalse
then throw a JSONException when the same key is inserted twice into the object. Default value istrue
; maintains backwards compatibility. - Addition of the possibility of two of more line numbers stored in one
JSONException
object.