mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
Issue-491 - modified the comment of JSONArray toList method to clarify what the output of the method is
This commit is contained in:
@@ -1454,7 +1454,7 @@ public class JSONArray implements Iterable<Object> {
|
||||
/**
|
||||
* 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
|
||||
* be converted.
|
||||
* be converted to a List and a Map respectively.
|
||||
* <p>
|
||||
* Warning: This method assumes that the data structure is acyclical.
|
||||
*
|
||||
|
Reference in New Issue
Block a user