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.
0
votes
0answers
11 views
Not able to access JSON data in ajax jquery
I have a Jquery AJAX POST method.Which call a web method of asp.net.
The ajax method get a json data.
The data format is :
[
{
"Title": "Test2",
"Name" : "AMIT",
"IsRoot": ...
0
votes
0answers
9 views
How to get and save posted JSON file using AJAX to ASP.NET C#?
I'm trying to post a JSON file formatted file to ASP.net ! I'm trying to save the file on the Sever.
ajax code is calling a function called "Save()" in code behind to save the jSON file on server. ...
0
votes
1answer
20 views
returned json data from table always repeats the one before last
I have a div which uses long polling to update with table data, it all works except when I enter a new piece of text, the text that was inserted before that always appears first and then what I just ...
-2
votes
1answer
22 views
retreive JSON data from a website using a string instead of a URL
I would like to retrieve JSON data from a website, but the user would be able to enter a URL. I tried using
NSURL * url = [NSURL URLWithString:getDataURL];
and to define getDataURL I used
...
0
votes
0answers
22 views
jQuery ajax login with json post over php and back
i looked 324234 times on the script and other people login jquery ajax json scripts ,and tryed to figure out to make it work proprley but i dont really understand to much :/
i want to use ajax jquery ...
0
votes
2answers
21 views
How to return rows of data from a table with json?
I am trying out long polling and it works with textfile but I can't make it return everything from a table.
var timestamp = null;
function waitForMsg() {
$.ajax({
type: 'GET',
...
0
votes
1answer
23 views
“Cannot call method 'toLowerCase' of undefined” when using grid.setFilter(…)
I want to set my filter plugin for my enhanced grid programmatically. Thats my approach:
//concat query string
console.log(queryString);
grid.setFilter(queryString, 'logicany');
I get the error
...
1
vote
2answers
23 views
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type
I have a class like this;
public class MyStok
{
public int STId { get; set; }
public int SM { get; set; }
public string CA { get; set; }
...
2
votes
1answer
29 views
Gathering JSON data from external file
I Have a JSON file named destinations.json and i would like to get the data from this file to display in a dropdown box on HTML. The JSON file is as shown below
{
"Destinations": [
{
...
0
votes
1answer
5 views
Parsing twitter json response
I've made a twitter api request (GET trends/place API) and the result is just like this:
...
0
votes
4answers
36 views
Fill HTML dropdown box with external JSON file data
I am trying to fill a HTML Dropdown menu with data from an external JSON file, which contains the following
{
"Destinations": [
{
"destinationName": "London",
...
0
votes
1answer
18 views
Django validation of json POST fails unless jQuery.ajaxSettings.traditional = true;
So I have an AJAX post JSON to Django, which is picked up in request.body in my view. Request.body looks like so:
{"c": {"cellid": 5}, "b": {"cellid": 8}, "e": {"cellid": 3}, "i": {"cellid": 9}, "k": ...
0
votes
0answers
21 views
Expecting a function in instanceof check, but got body - Trying to create view in Backbone
I am trying to create a view in Backbone and trying to load libs via node require. i am able to output to console from Model/Collection but when i start to create view i am getting error "Expecting a ...
0
votes
2answers
35 views
JSONObject from String error
I need to parse twitter user feed and I am trying to make JSON Object from json string. I correctly able to get the json string but when I am trying to make JSON object from it, it is showing an ...
0
votes
0answers
14 views
Create an rspec test that validates a JSON response
I am having difficulty to write specs for my program as I need to validate the facebook ID after I filled in all the correct format information. My facebook ID is retrieved from JSON response so I not ...