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
12 views
Parsing strings to mongodb query documents with operators in java
In a project I'm working on, at one point I read a query to mongodb from a string. I've been using com.mongodb.util.JSON.parse(querystring) to read the query, which worked fine until I started ...
0
votes
1answer
11 views
NSURLRequest for JSON w/ credentials
NSString *login = @"Web Guest";
NSString *password = @"xxxxx";
NSError *myError = nil;
NSLog(@"CONNECTION: Adding credentials");
NSURLCredential *credential = [NSURLCredential ...
0
votes
0answers
16 views
json string eval on javascript is not working on all computers
I have a strange problem that i have a json string which is converting in object on browser using eval function but same code without even any changes, json string is not converting to object on my ...
0
votes
0answers
7 views
Foreign key relationship mapping with RestKit
I'm totally new to RestKit and am struggling somewhat.
JSON:
{
"teams": [
{
"id": 1,
"name": "Team A"
},
{
"id": 2,
...
2
votes
0answers
10 views
Create Json Array with ServiceStack
Quite new to .NET. Still haven't gotten the hang of how to do dictionaries, lists, arrays, etc.
I need to produce this JSON in order to talk to SugarCRM's REST API:
{
"name_value_list": {
...
0
votes
1answer
29 views
AJAX/PHP - Accessing JSON object properties
I'm attempting to access the properties of a JSON object. My ajax call is:
$.ajax({
url: 'login.php',
type: 'post',
dataType: 'json',
data: $('#frmLgn').serialize(),
success: function(data) ...
0
votes
2answers
19 views
Acessing javaScript array of objects like a matrix
Is it possible to make access to a property of an object into an array of objects like a matrix?
I mean something like this:
jSon generated object:
[
{
"Nome": "1",
...
-5
votes
0answers
26 views
Jackson JSON Library Compatibility [on hold]
How can i solve this?
Error generating final archive: Found duplicate file for APK: LICENSE
Origin 1: /home/App/libs/jackson-databind-2.2.0.jar
Origin 2: /home/App/libs/jackson-core-2.2.0.jar
0
votes
0answers
13 views
Json.net JsonConverter Not Converting Object Correctly in ASP.net Web API and MVC 3
I am trying to implement a pretty simple JsonConverter in an ASP.net Web Api MVC 3 application. Previously this was not possible because the WCF client used Microsoft serialization by default.
...
0
votes
0answers
11 views
Kendo grid connecting to Json dataset from WebAPI
Local IIS has WebAPI installed. Here's the asp.net MVC controller:
namespace MvcApplication3.Controllers
{
public class AddressesController : ApiController
{
public IEnumerable<Address> ...
0
votes
0answers
24 views
Jackson JSON read and write JSON String
I have i class (A) composed by an int and a List of my another object (B) composed only by int.
They are all relative getters and setters method. I can save correctly my firts object into a String ...
0
votes
1answer
27 views
Unable to read JSON in PHP on FTP
I have an FTP setup on zymic.com. I have a jsonfile names testJson.json and a php file named index.php (obviously the default). I have some temperature data in the testJson.json file coming from a ...
1
vote
0answers
6 views
console based JSON API configuration over relational database
I've been looking for a tool/utility that provides a console-like option for building JSON data APIs on top of a relational database.
I've come across deployd (http://deployd.com/) and emergent one ...
0
votes
1answer
7 views
jqGrid colModel not calling a function
In above code attrSetting is called. If I change it to {"name":"A", "index":"0", "cellattr":attrSetting}. It runs fine. So what should I do? The cellattr treats it as string not as a function.
var ...
0
votes
0answers
14 views
How can I remove escape characters from my JSON object being displayed in Fiddler
I would like to seriaize my C# object to a JSON object without the final text string including escape characters.
The below method is being called through a RESTful design and returns the following ...