Best way to parse JSON data into a.NET object

What's the best way to parse JSON data into a.NET object? I am trying to assist a coder friend of mine and he is trying to dump some data from a JSON string into a database using ASP.net. Are ther…


java - Convert JSON to Map

What is the best way to convert a JSON code as this:{"data":{ "field1":"value1", "field2":"value2"}} in a Java Map in which one the keys are(field1, field2)…


Convert a multidimensional javascript array to JSON?

What is the best way of converting a multi-dimensional javascript array to JSON?…


Waiting for JSON data to be parsed

Is there a way to wait for jQuery's getJSON method? I want to parse the data, recieved with this function and just return false/true if a specific string is contained. But due to the asynchronous dat…


Accessing members of items in a JSONArray with Java

I'm just getting started with using json with java. I'm not sure how to access string values within a JSONArray. For instance, my json looks like this:{"locations":{"record":[{…


Iterating through/Parsing JSON Object via JavaScript

I'm having a problem with jQuery/Ajax/JSON. I'm using a jQuery ajax post like so... $.ajax({ type: "POST", dataType: "json", url: "someurl.com", data: "cmd="+escape(me.cmd)+"&q="+q+"&"+me.arg…


Library to encode/decode from json to java.util.Map?

Does anyone knows a java library that could easily encode java Maps into json objects and the other way around? UPDATE For reasons couldn't explain(and I hate sometimes)I can't use generics on m…


JSON.simple API Javadoc

Is there a Javadoc for JSON.simple?…


Grails JSON array

I'm converting a list of Foo objects to a JSON string. I need to parse the JSON string back into a list of Foos. However in the following example, parsing gives me a list of JSONObjects instead of Foo…



What is the proper way to use a Logger in a Serializable Java class?

I have the following(doctored) class in a system I'm working on and Findbugs is generating a SE_BAD_FIELD warning and I'm trying to understand why it would say that before I fix it in the way that I…




json java array object example how jsonobject string android list