-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to convert an object into JSON using the GSON library on Google App Engine. For some reason, it throws this exception and I don't understand how to solve this. Any suggestions?
java.lang.SecurityException: java.lang.IllegalAccessException: Reflection is not allowed on private static final…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
After searching through some existing libraries for JSON, I have finally ended up with these two:
Jackson
Google GSon
I am a bit partial towards GSON, but word on the net is that GSon suffers from certain celestial performance issue.
I am continuing my comparison, in the meanwhile I was looking…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do I wire together GSON and Spring to send JSON to my front end? I have been using spring-json and though it was very easy to configure, I found only a subset of my Java objects were making it to the front end.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to know how to parse a json feed by items, eg. url / title / description for each item. I have had a look to the doc / api but, it didn't help me.
This is what I got so far
import com.google.gson.Gson;
import com.google.gson.JsonObject;
public class ImportSources extends Job {
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have to make dynamic hashes, so the class example won't work since the class variables are static. I am sending in a hashmap object to toJson but it isn't working. Any suggestions on what to do?
>>> More
-
as seen on West-Wind
- Search for 'West-Wind'
With the release of ASP.NET Web API as part of .NET 4.5 and MVC 4.0, JSON.NET has effectively pushed out the .NET native serializers to become the default serializer for Web API. JSON.NET is vastly more flexible than the built in DataContractJsonSerializer or the older JavaScript serializer. The DataContractSerializer…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
Azure Mobile Services is a platform that provides a small set of functionality consisting of authentication, custom data tables, custom API’s, scheduling scripts and push notifications to be used as the back-end of a mobile application or if you want, any application or web site. As described in my…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am trying to retrieve the values from the following url: http://rentopoly.com/ajax.php?query=Bo. I want to get the values of all the suggestions to be displayed in a list view one by one. This is how i want to do...
public class AlertsAdd {
public ArrayList<JSONObject> retrieveJSONArray(String…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm relatively new to working with C# and JSON data and am seeking guidance. I'm using C# 3.0, with .NET3.5SP1, and JSON.NET 3.5r6.
I have a defined C# class that I need to populate from a JSON structure. However, not every JSON structure for an entry that is retrieved from the web service contains…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the following JSON object:
{
"response": {
"status": 200
},
"messages": [
{
"message": {
"user": "value"
"pass": "value",
"url": "value"
}
]
}
}
I am using JSON-Framework (also tried JSON Touch) to parse through this and…
>>> More