About 52 results
Open links in new tab
  1. Parsing JSON Object in Java - Stack Overflow

    Fetch the data from JSONObject using index '"interestKey"'. Note : JSON parsing uses the escape sequence for special nested characters if the json response (usually from other JSON …

  2. java - How to iterate over a JSONObject? - Stack Overflow

    I use a JSON library called JSONObject (I don't mind switching if I need to). I know how to iterate over JSONArrays, but when I parse JSON data from Facebook I don't get an array, only a …

  3. java - Which one to use? JSONObject from org.json VS JsonObject …

    JSONObject, as mentioned, is provided by android's API. JsonObject is specifically used for Java EE development which is essentially for web applications and networking capabilities among …

  4. How to convert jsonString to JSONObject in Java - Stack Overflow

    However, I think your question is more like, How do I endup with an actual JSONObject object from a JSON String. I was looking at the google-json api and couldn't find anything as straight …

  5. java - JSONObject - How to get a value? - Stack Overflow

    Implementation has a bug (s): (1) while-loop is continuing even after recursive call returns a legitimate value. (2) you have no way to differentiate between, key not found vs key has …

  6. How to create correct JSONArray in Java using JSONObject

    how can I create a JSON Object like the following, in Java using JSONObject ?

  7. ¿Como extraer los datos de un JSONOBject en java?

    May 7, 2020 · ¿Como extraer los datos de un JSONOBject en java? Formulada hace 5 años y 7 meses Modificada hace 5 años y 7 meses Vista 4k veces

  8. How to put object into JSONObject properly? - Stack Overflow

    May 3, 2015 · 60 Since you use JSONObject to represent non-primitive types, any instance passed to JSONObject.put(Object, Object) will generate nested items (or trees).

  9. Difference between JSON object and JSON array - Stack Overflow

    Mar 15, 2024 · After reading some of the answers, here is what I get: A JSONObject is a JSON-like object that can be represented as an element in the array, the JSONArray. In other words, …

  10. java - JSONObject in JSONObject - Stack Overflow

    Aug 2, 2012 · JSONObject provides accessors for a number of different data types, including nested JSONObjects and JSONArrays, using JSONObject.getJSONObject(String), …