JSON (JavaScript Object Notation) is a lightweight data exchange format inspired by JavaScript object literals. It is often used with JavaScript, Ajax, and RESTful web services but is completely language independent.

learn more… | top users | synonyms (1)

0
votes
0answers
77 views

javascript string replace method

I have a problem with the JavaScript string replace method, i tried a lot, still don't have a clue what is wrong. Please give me some advice. Thanks. Basically, I have a question string and an array ...
1
vote
2answers
11 views

Rails 4 - Customizing (json) format of response objects in Rails

I have a Rails Controller who responds with JSON objects. Let's take this theoretical example : respond_to :json def index respond_with Comment.all end This would respond with something like ...
0
votes
0answers
5 views

how do i get the date associated with createCard action in trello json for google sheets

i'm running a script to download card details from Trello. i managed to download much of what i need like board, card and list names, members, due dates, etc. however, i cant seem to figure out how to ...
0
votes
1answer
18 views

How to put JSONArray of object in JSONObject inside servlet

I am trying to populate multiple selectbox dynamically using $.ajax() method.... Here is my html code...... <select id="imageSize" name="ImageSizeId"></select> <select ...
0
votes
2answers
28 views

Load JSON file from header without Ajax

I have a list of specific states I want to load into a dropdown list on page load. Because of this I don't have the need for AJAX and thus want to avoid it. How can I access the json file within my ...
0
votes
2answers
28 views

Parsing JSON server response into JSON Array

I am using Java to parse a JSON response from a server. My end goal is to have the data from results in an Array. Currently I am using this to try and get the results: JSONArray jArray = ...
0
votes
0answers
14 views

getJSON dosen't work on IE during typing special characters

I am using $.getJSON to autocomplete control and everything is fine for chrome browser. On IE, only plain text (without special characters like 'ż','ł' etc.) work fine. Probbably it is cause by ...
0
votes
0answers
3 views

(De-)Serialization with PyMongo and JSON

In a project that keeps data inside a MongoDB and that also exposes some data via a (read-only) RESTish JSON API, dealing with Python objects requires some extra work. Serialization and Deserializing ...
0
votes
2answers
12 views

Custom response header Jersey/Java

I am trying to achieve the following. Read a custom header and its value from Request. name: username Now, on response, I would like to return the same header name:value pair in HTTP response. I am ...
0
votes
1answer
26 views

Error Parsing Data org.json.JSONException: Value of type java.lang.String cannot be converted to JSONArray

I am connecting to external database from my android applicaio. it is MS SQL Server using PHP JSON. I am successfully connected to database and getting results in browser. while coming to android i am ...
0
votes
1answer
31 views

PHP Parse Json file_get_contains into foreach (The requested operation cannot be carried out because the handle supplied is not in the correct state)

I'm trying to parse an xml file and display members by their ID with a link to their profile : $xml=simplexml_load_file("http://steamcommunity.com/gid/103582791433452366/memberslistxml/?xml=1"); ...
0
votes
0answers
23 views

How to modify a json value

I have a JSON message like this: {"name":"Kallel", "birthdate":"01/01/2012"} The treatement of the JSON message is done with shell script (sh) I load the JSON message with json_init json_load ...
0
votes
1answer
15 views

codeigniter - populate dropdown list with query result using json

I have a dropdown list, that when changed passes the value to a controller. This controller, through the model then runs a query that returns multiple results. I need to somehow populate my dropdown ...
0
votes
1answer
14 views

How to Use Xpath for Json in wso2esb

I am using Wso2esb 4.7.0 we have option in this set a property with Json how we can set if in xml we can set like this <property name="username" expression="//username/text()" ...
0
votes
0answers
34 views

Deserializing custom type within a Map<String, Object> when using default typing

So I have a simple object: public class State { private DateTime time; private Map<String, Object> map; .... } I'm using default typing and a custom serializer/deserializer in ...

1 2 3 4 5 3409
15 30 50 per page