-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated README - Updated CHANGELOG Signed-off-by: Ralph Niemitz <[email protected]>
- Loading branch information
Showing
57 changed files
with
224 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# Version 1.1.0 | ||
|
||
- Added the method `JSONObject#compact()` | ||
- Added the method `JSONObject#toXML(String)` | ||
- Added the method `JSONArray#toXML(String)` | ||
|
||
|
||
# Version 1.0.0 | ||
|
||
- Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
<!-- NewPage --> | ||
<html lang="de"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_131) on Sun Jul 30 18:33:33 CEST 2017 --> | ||
<!-- Generated by javadoc (1.8.0_131) on Wed Dec 20 18:20:36 CET 2017 --> | ||
<title>JSONArray</title> | ||
<meta name="date" content="2017-07-30"> | ||
<meta name="date" content="2017-12-20"> | ||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="../../../../script.js"></script> | ||
</head> | ||
|
@@ -18,7 +18,7 @@ | |
catch(err) { | ||
} | ||
//--> | ||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":10}; | ||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":10}; | ||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; | ||
var altColor = "altColor"; | ||
var rowColor = "rowColor"; | ||
|
@@ -135,7 +135,7 @@ <h2 title="Class JSONArray" class="title">Class JSONArray</h2> | |
<dt><span class="simpleTagLabel">Since:</span></dt> | ||
<dd>1.0.0</dd> | ||
<dt><span class="simpleTagLabel">Version:</span></dt> | ||
<dd>1.0.0</dd> | ||
<dd>1.1.0</dd> | ||
<dt><span class="simpleTagLabel">Author:</span></dt> | ||
<dd>FangYidong([email protected]), Ralph Niemitz/RalleYTN([email protected])</dd> | ||
<dt><span class="seeLabel">See Also:</span></dt> | ||
|
@@ -448,76 +448,80 @@ <h3>Method Summary</h3> | |
</td> | ||
</tr> | ||
<tr id="i34" class="altColor"> | ||
<td class="colFirst"><code>java.lang.String</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#toXML-java.lang.String-">toXML</a></span>(java.lang.String rootName)</code> </td> | ||
</tr> | ||
<tr id="i35" class="rowColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-boolean:A-java.io.Writer-">writeJSONString</a></span>(boolean[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i35" class="rowColor"> | ||
<tr id="i36" class="altColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-byte:A-java.io.Writer-">writeJSONString</a></span>(byte[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i36" class="altColor"> | ||
<tr id="i37" class="rowColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-char:A-java.io.Writer-">writeJSONString</a></span>(char[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i37" class="rowColor"> | ||
<tr id="i38" class="altColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-java.util.Collection-java.io.Writer-">writeJSONString</a></span>(java.util.Collection<?> collection, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode a Collection into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i38" class="altColor"> | ||
<tr id="i39" class="rowColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-double:A-java.io.Writer-">writeJSONString</a></span>(double[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i39" class="rowColor"> | ||
<tr id="i40" class="altColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-float:A-java.io.Writer-">writeJSONString</a></span>(float[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i40" class="altColor"> | ||
<tr id="i41" class="rowColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-int:A-java.io.Writer-">writeJSONString</a></span>(int[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i41" class="rowColor"> | ||
<tr id="i42" class="altColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-long:A-java.io.Writer-">writeJSONString</a></span>(long[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i42" class="altColor"> | ||
<tr id="i43" class="rowColor"> | ||
<td class="colFirst"><code>static void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-short:A-java.io.Writer-">writeJSONString</a></span>(short[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i43" class="rowColor"> | ||
<tr id="i44" class="altColor"> | ||
<td class="colFirst"><code>static <T> void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-T:A-java.io.Writer-">writeJSONString</a></span>(T[] array, | ||
java.io.Writer writer)</code> | ||
<div class="block">Encode an array into JSON text and write it to a Writer.</div> | ||
</td> | ||
</tr> | ||
<tr id="i44" class="altColor"> | ||
<tr id="i45" class="rowColor"> | ||
<td class="colFirst"><code>void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/json/JSONArray.html#writeJSONString-java.io.Writer-">writeJSONString</a></span>(java.io.Writer writer)</code> | ||
<div class="block">Writes a JSON encoded string on a Writer.</div> | ||
|
@@ -1720,7 +1724,7 @@ <h4>toObjectArray</h4> | |
<a name="toArrayArray--"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>toArrayArray</h4> | ||
<pre>public <a href="../../../../de/ralleytn/simple/json/JSONArray.html" title="class in de.ralleytn.simple.json">JSONArray</a>[] toArrayArray()</pre> | ||
|
@@ -1733,6 +1737,23 @@ <h4>toArrayArray</h4> | |
</dl> | ||
</li> | ||
</ul> | ||
<a name="toXML-java.lang.String-"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<li class="blockList"> | ||
<h4>toXML</h4> | ||
<pre>public java.lang.String toXML(java.lang.String rootName)</pre> | ||
<dl> | ||
<dt><span class="paramLabel">Parameters:</span></dt> | ||
<dd><code>rootName</code> - name of the root element</dd> | ||
<dt><span class="returnLabel">Returns:</span></dt> | ||
<dd>this JSON array as XML</dd> | ||
<dt><span class="simpleTagLabel">Since:</span></dt> | ||
<dd>1.1.0</dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.