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

Merge pull request #492 from ggavriilidis/ISSUE-491_clarify_intention_of_JSONArray_toList

Issue-491 - Clarify what the output of the method JSONArray toList is
This commit is contained in:
Sean Leary 2019-10-29 22:24:45 -05:00 committed by GitHub
commit 9afa90d9a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.
* 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.
*