Questions for json


251

Alternative to ASP.NET Ajax framework in aspx front end

I'm developing some CRUD screens for retrieving/updating various items using .NET 3.5 and aspx forms. I am using a WCF service to connect to the back end which is Oracle. I want to use Ajax but I'd
3946

How do I use an Avro schema to validate JSON?

I'd like to know the feasibility of using an Avro schema to validate JSON that comes into my app. In this post, Doug Cutting suggests using the jsontofrag tool that comes with the avro-tools jar. ...
6214

$.ajax() success called, but will not run method

This is really puzzling me. Any idea why this would be happening?
4203

Dates without time in ASP.NET Web API's JSON output

Is there a simple way to configure JSON.NET so that some DateTime fields will be formatted without time?
3188

Update <div> with JSONP value jQuery

I'm getting the temperature from a service called World Weather Online
8894

JSON.framework add in xcode

I have copy JSON.framework in my
9956

Embedded Parser Memory Use XML vs JSON vs?

I have an embedded weberver which is currently used to administer various bits of hardware over a network.
9041

Javascript / JSON alert returning Undefined

I am having a problem trying to alert the json data.
5002

PhoneGap, JQueryMobile JSON and springMVC

I have developed web architectures using Spring and now i want to do smart phone applications using phoneGap and JQueryMobile so my question is if its smart connect that frontend to a springmvc bac...
831

Why is my JSON.parse() failing on iPhone?

I am using Titanium for a mobile application. In the application, the server returns JSON data, which is then parsed by JSON.parse(). On Android, it works fine. I also double-checked it to make sur...
5894

Backbone.View.extend - events hash

I'm going through a tutorial which advises that events can be captured via a view as follows:
2798

Ajax Response Json Print result in table or div array

I have an ajax call to a php file that encodes the array into a json array/object. What I am trying to do is to print the json response into a table format or an array of
3529

Is JSON validation a best practice?

Is it a best practice to validate JSON?
7149

jQuery ajax json webservice error

If someone could point out what's wrong here I would certainly appreciate it. I can set a breakpoint in the webmethod and it gets hit, but it always errors out.
5605

Where can I convert JSON date format when data from WCF ajax call?

I am getting JSON data from WCF service like below format. Then I am binding that data to handsOnTables.
5292

GSON (or) JSON to contentvalues with array of arrays

I am trying to get a fusiontables sql response into an sqlite db in android. jsonlint.com says the object is valid JSON. But, the arrays in "rows" are not recognized as JsonArrays or JSONArrays. ...
8053

How to add HTML code to JSON in PHP?

I need to add folowing html code to JSON using PHP.
7767

Create Rails Proxy for JSON

I want to asynchronously query the Foursquare API, which currently does not allow for the old $.get(). My short term solution is to make a Helper that just GETs the data like so:
5182

Recursion with Javascript on JSON data

So, I have this function.
1218

Elasticsearch delete-by-query returns success but records persist?

I am attempting to delete records from elasticsearch using the delete by query api:
6825

Add binding to json using JavaScriptSerializer with list asp.net c#

I use to build my json return string by hand using vbscript and would add a binding, and then in javascript i could say something simple like
7573

Android app won't return result from VB.NET WCF Service

here is my WCF server code (VB.NET)...
163

RESTful web service returning XML not JSON

I have this simple web service, right now it just looks to see if the part number is A123456789 and then it returns a model number. This will be replaced by logic that will be connecting into a dat...
2919

serializing form data to a web api

is there a better way of implementing this code:
167

how to avoid NULL value in objective c

Please consider this code:
9779

Parse JSON to TextViews

So im parsing JSON data from a API Enabled website, It requires authentiucation by a APIKEY, My issue is that im trying to parse the data then insert it into TextViews on the UI. My current code
9840

Starting out with a REST server and a Coffeescript frontend

Looking for some help on where to begin, there are so many competing libraries and acronyms I get all dizzy trying to sort it all out.
9521

Error after submitting JSON data through POST

I'm trying to send data through POST to a web server.
9051

Convert HTML numbered entities in php to unicode for use on iPhone

I'm creating a web service to transfer json to an iPhone app. I'm using json-framework to receive the json, and that works great because it automatically decodes things like "\u2018". The problem I'm
8024

Method for displaying “loading” message

I am using jquery and the getJSON method and I am wondering if there is a way to display a message saying loading before it loads my content. i know with the jquery ajax calls there is the before s...
2401

How to access particular fields from JSON content by using php?

i want to get the values of different fields in Json by using php
4484

iterating through JSON object with javascript

In this example, I would like to extract the 1) employee number and 2) all of her/his
4388

How to do HTTP-request/call with JSON payload from command-line?

What's the easiest way to do a JSON call from the command-line? I have a website that does a JSON call to retrieve additional data.
4275

Lawnchair.js - retrieve boolean from 'exists' method

For those who use or have used THIS code, please tell me how to get a boolean value from the exists function. It returns an object, and I can't find any boolean values inside it.
3483

jackson mini json to object class

I was added "jackson-mini-1.9.2.jar"(is not "jackson-all-1.9.2.jar") in my project,
2788

how to parse JSON from URL with basic authentication

Is there anyone who can provide me with the different steps I need to parse JSON form an API using basic authentication?
5702

Changing library from org.json to Jackson for parsing JSON

I've been using the stock org.json library and am familiar with this. I now want to use the Jackson library for performance reasons, but am struggling with adapting to what looks like a very diffe...
1042
4535

Any PHP function that will strip properties of an object that are null?

I am returning a json_encode() of an array of objects pulled from an ORM. It includes lots of properties with a null value. What is the neatest way to remove these properties that are null? I gu...
8769

How to retrieve json key pair value of desc which is not json array?

for (int i = 0; i &lt; jArray.length(); i++) {
7692

jQuery key and it's value from a JSON array

I have a long JSON array from which I would like to remove a specific key and its value and then re-construct it as a JSON array.
7144

Monitor Data sent from Android app to Php server in Real time

I made an app that sends coordinates over to my php server. I am able to verify that this works because it returns the coordinates to my phone in a specific format that I set.
2909

REST represenation for xml

i'm building a REST api and debating what format should I use for the xml representation.
7849

one Jackson deserializer for multiple types (config by annotation)

I'm trying to change the (de)serialization of a list in one of my classes.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.