Top "Json-simple" questions

JSON.

Parsing a JSON file in Java using json-simple

I have created a .json file: { "numbers": [ { "natural": "10", "integer": "-1", "real": "3.14159265", "complex": { "real": 10, "imaginary": 2 }, "EOF": "yes" } ] } and I want to …

java json parsing json-simple
Using Java to decode JSON array of objects

I have JSON as follows: [{"0":"1","id":"1","1":"abc","name":"abc"},{"0":"2","id":"2","1":"xyz","name":"xyz"}] It is an array of objects. I …

java android json json-simple
How to parse from JSON to Map with Json-Simple and retain key order

I'm using Json-Simple to write a config file using JSon-Simple lib, but I'm having problems converting the json string to …

java json json-simple
How to tell if return is JSONObject or JSONArray with JSON-simple (Java)?

I am hitting a service and sometimes getting back something like this: { "param1": "value1", "param2": "value2" } and sometimes getting return …

java json types json-simple
NoClassDefFoundError when trying to parse JSON with JSON simple

I use JSON simple to parse JSON and I get NoClassDefFoundError when trying to create JSONParser object. import org.json.…

java json classnotfoundexception json-simple
jackson vs json simple for stream parsing

I have a json library on github https://github.com/jillesvangurp/jsonj This library has a parser based on json …

java jackson json-simple
JSON Parameter for Web Service

I am trying to create a web service which will taken in JSON response and then query the DB with …

java json web-services rest json-simple
Convert JSON String to Java object for easy use in JSP

Is their an easy way or library to convert a JSON String to a Java object such that I can …

java json jsp json-lib json-simple
Java JSON decode from OMDB (IMDB) API using Java

I want to get movie data from the OMDB API which is JSON text. I am using Java to decode …

java api imdb json-simple
Java parse JSON array from JSON file

I haven't been programming for a long time but I like it and trying to get back on track. So …

java json gson json-simple