1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

Issue-491 - modified the comment of JSONArray toList method to clarify what the output of the method is

This commit is contained in:
gavriil 2019-10-29 21:35:58 +00:00
parent 044b035847
commit 065f9a94bc

View file

@ -1454,7 +1454,7 @@ public class JSONArray implements Iterable<Object> {
/** /**
* Returns a java.util.List containing all of the elements in this array. * Returns a java.util.List containing all of the elements in this array.
* If an element in the array is a JSONArray or JSONObject it will also * If an element in the array is a JSONArray or JSONObject it will also
* be converted. * be converted to a List and a Map respectively.
* <p> * <p>
* Warning: This method assumes that the data structure is acyclical. * Warning: This method assumes that the data structure is acyclical.
* *