About 55,500 results
Open links in new tab
  1. JsonArray (Java (TM) EE 7 Specification APIs) - Oracle

    JsonArray represents an immutable JSON array (an ordered sequence of zero or more values). It also provides an unmodifiable list view of the values in the array. A JsonArray object can be created by …

  2. JSONArray (JSON in Java 20230227 API) - javadoc.io

    Feb 27, 2023 · A JSONArray is an ordered sequence of values. Its external text form is a string wrapped in square brackets with commas separating the values. The internal form is an object having get and …

  3. JSON Arrays - W3Schools

    Arrays in JSON are almost the same as arrays in JavaScript. In JSON, array values must be of type string, number, object, array, boolean or null. In JavaScript, array values can be all of the above, plus …

  4. How to create correct JSONArray in Java using JSONObject

    In java 6 org.json.JSONArray contains the put method and in java 7 javax.json contains the add method. An example of this using the builder pattern in java 7 looks something like this:

  5. Converting a Java List to a Json Array - Baeldung

    Jun 18, 2025 · One common task is converting a Java List to a JSON array. In this tutorial, we’ll explore different approaches to achieve this conversion, providing us with practical examples and insights. 2. …

  6. JSONArray - GitHub Pages

    A JSONArray is an ordered sequence of values. Its external text form is a string wrapped in square brackets with commas separating the values. The internal form is an object having get and opt …

  7. What is JSON Array? - GeeksforGeeks

    Jul 23, 2025 · JSON array of Strings contains string elements only. For example, the array below has 6 string elements, "Ram", "Shyam", "Radhika", "Akshay", "Prashant" and "Varun", each element is …

  8. Mastering Java JSONArray: A Comprehensive Guide

    Jul 21, 2025 · A JSONArray in Java is a crucial component when dealing with JSON data that comes in the form of an array. It provides a convenient way to manipulate and access elements within a JSON …

  9. JSON Array: Syntax, Examples - w3resource

    Nov 7, 2025 · JSON arrays begin and end with square brackets. Values are separated by commas. Elements can be of different types. Explanation: This JSON array contains four string elements. It …

  10. JSONArray | API reference | Android Developers

    JSONArray Added in API level 1 public JSONArray (String json) Creates a new JSONArray with values from the JSON string.