Javadoc
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.
Warning: This method assumes that the data structure is acyclical.
Popular methods of JSONArray
- lengthGet the number of elements in the JSONArray, included nulls.
- Construct a JSONArray from a JSONTokener.
- getJSONObjectGet the JSONObject associated with an index.
- putAppend a boolean value. This increases the array's length by one.
- getStringGet the string associated with an index.
- toStringMake a prettyprinted JSON text of this JSONArray. Warning: This method assumes that the data structu
- getGet the object value associated with an index.
- getIntGet the int value associated with an index.
- optJSONObjectGet the optional JSONObject associated with an index. Null is returned if the key is not found, or n
- optStringGet the optional string associated with an index. The defaultValue is returned if the key is not fou
- optGet the optional object value associated with an index.
- getDoubleGet the double value associated with an index.
- opt,
- getDouble,
- getJSONArray,
- getLong,
- getBoolean,
- optDouble,
- optInt,
- optLong,
- isNull,
- optBoolean
Popular in Java
- Reactive rest calls using spring rest template
- notifyDataSetChanged [ArrayAdapter]
- setScale [BigDecimal]
- setRequestProperty [URLConnection]
- ObjectMapper [com.fasterxml.jackson.databind]ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs [Pl
- ConnectException [java.net]A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
- Time [java.sql]Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
- Arrays [java.util]This class contains various methods for manipulating arrays [such as sorting and searching]. This cl
- JLabel [javax.swing]
- LoggerFactory [org.slf4j]The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
- Top 17 PhpStorm Plugins