John J. Aylward
057e0c75ca
Merge remote-tracking branch 'origin/master' into AndroidSupport
2017-10-27 13:28:20 -04:00
John J. Aylward
de855c50aa
Fixes #361 .
...
* Removes unescape from the XML class calls
* fixes bug with unescape method
* moves unescape logic into the XMLTokener class for more consistency
2017-08-19 18:23:07 -04:00
John J. Aylward
4dbc5ef803
fixes malformed javadoc
2017-07-09 18:48:40 -04:00
John J. Aylward
e8b1b66888
Updates for supporting the Android API
2017-07-07 12:17:39 -04:00
John J. Aylward
4f5bf16676
* Adds protected entrySet accessor to JSONObject
...
* Updates loops that request key/value pairs to use the new entrySet accessor
2017-05-23 12:48:44 -04:00
John J. Aylward
c870094f69
Fixes spelling in comments and removes compile time warnings
2017-05-16 15:35:05 -04:00
John J. Aylward
93ffca36c3
fixes spacing
2016-09-28 20:23:30 -04:00
John J. Aylward
e477d7002b
fixes object comparison
2016-09-28 20:22:12 -04:00
John J. Aylward
fb1db9341e
Changes encoding to better match the XML spec section 2.2
2016-09-28 20:15:58 -04:00
John J. Aylward
f58a0f4684
fixes code point appends to string builder
2016-09-22 16:10:49 -04:00
John J. Aylward
c11e09959c
Fixes code point output when unescaping code points. XML escapes are an entire code point, not surrogate pairs like in JSON.
2016-09-22 15:40:26 -04:00
John J. Aylward
68f92eb395
Adds more javadoc.
2016-09-22 14:40:39 -04:00
John J. Aylward
34652a8706
Updates to iterate on code points instead of characters and changes the encoding to only encode control characters as defined by ISO standard.
2016-09-22 14:13:14 -04:00
John J. Aylward
a2d3b59394
Implements unicode escaping similar to JSONObject.
...
* Removes deprecation on XML.stringToValue(). It now provides unescaping for strings to convert XML entities back into values.
* New unescape function to handle XML entities -> value conversion.
2016-09-22 12:38:06 -04:00
Sean Leary
f881b61c81
Update XML.java
...
Removed a problematic JavaDoc in the header comment to a deprecated method
2016-08-10 15:35:26 -05:00
John J. Aylward
09d37e59b8
Cleans up the JSONML changes and adds similar changes to the XML class
2016-07-18 14:42:21 -04:00
Sean Leary
ba2585fe6c
Version date
2016-01-30 15:45:11 -06:00
John J. Aylward
c2b3f2bdb1
adds back in the XML.stringToValue method, but deprecates it.
2016-01-27 15:21:11 -05:00
John J. Aylward
3007fc8ebe
Removes custom XML stringToValue method in favor of keeping a consistent
...
implementation in JSONObject
2016-01-27 15:03:19 -05:00
Sean Leary
a971736f5b
Update version string for https://github.com/douglascrockford/JSON-java/pull/170
2016-01-01 13:52:12 -06:00
Sean Leary
757fd566ab
Merge pull request #170 from johnjaylward/HandleArraysConsistently
...
Handle arrays consistently
2016-01-01 13:44:57 -06:00
Siyuan Ren
23cf659730
Remove executable permission bit from file mode
2015-12-09 09:50:59 +08:00
John J. Aylward
105426b53f
Formatting
2015-10-26 18:35:40 -04:00
John J. Aylward
7886c96204
Changes JSONArray for loops to use the new iterators.
2015-10-26 18:30:41 -04:00
John J. Aylward
91c6f09be8
Modifies XML output to be handled the same for a native java array as well as a JSONArray.
2015-10-26 18:17:37 -04:00
Sean Leary
6757e04c0a
Fix NullPointerException in XML.toString(object, tagName)
...
Setting version date to match commit date.
2015-10-18 10:23:43 -05:00
John Aylward
637c1fe2b9
updates file dates
2015-10-14 00:48:01 -04:00
John J. Aylward
ceba8e8c3d
Fixes possible NPE
2015-10-12 14:25:18 -04:00
Douglas Crockford
a9a0762383
Java 1.8.
2014-05-05 15:09:32 -07:00
Douglas Crockford
4d86b05d3c
stringToValue
2013-11-14 11:18:16 -08:00
Douglas Crockford
f803a5db3e
entityify
2012-10-26 01:52:58 -07:00
ajayk
9420bb7e8b
AjayKemparaj: Tabs to spaces and minor java code fixups
2012-01-13 13:10:10 +05:30
Douglas Crockford
dced076cd4
attribute="0"
2011-02-09 16:49:22 -08:00
Douglas Crockford
12b75c4acc
XML.toString(array)
2011-01-13 18:33:56 -08:00
Douglas Crockford
a1fcffecb2
'
2011-01-13 16:45:01 -08:00
Douglas Crockford
87c4b1d59d
Season's Greetings
2010-12-25 14:12:07 -08:00
Douglas Crockford
f284477cff
XML.stringToValue
2010-12-23 12:41:23 -08:00
Douglas Crockford
667813de3c
first commit
2010-12-21 10:51:19 -08:00