This is javascript code, not JSON. Keys should have surrounding quotes in JSON. {"user": {"errorFirstName":"", "errorLastName::"", "errorEmail":"The email...
Hi Henrik and Martin, Thanks very much for your response. Without quotes its working for me. With quotes FireFox is throwing an error as 'invalidLabel39;, when...
Hi Doug, My understanding of JSON was that you need to form a Text in such way that, when we create a JSON object using 'eval', then we can traverse its...
Perhaps he is asking why you aren't using: http://json.org/json.js ... string.parseJSON() This method parses a JSON text to produce an object or array. It will...
... It would be helpful to have some more context; the first snippet you sent was just plain old Javascript, and didn't show how you're using eval(). -mike. ...
Ashwin, It sounds like either your eval() statement is incorrect or your JSON string is malformatted. Below is a simple example of some JSON written in...
Hey Guys, Thanks very much for all the clarifications. i think, i know what i was doing wrong. As for parseJSON, yup i will using that. Thanks again! -...
The link to the ActionScript 3 JSON implementation on the json.org homepage is broken. Does anyone know where I can find the code? TIA. -- Martin Cooper ...
Answering my own question, I found it here: http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries#corelib It would be nice if the JSON...
I have identified a need to merge/mangle several discrete JSON objects into a single JSON object in Java. Has anyone ever developed a method to merge two...
In org.json.simple, a JSONArray is a List and a JSONObject is a Map,so you can use List.addAll(JSONArray) or Map.addAll(JSONObject) to merge them. ... -- JSON:...
I have been looking at JSON, and have seen in a few places where the eval statement is written x = eval('(39; + var + ')'); what is the purpose of the '(' and...
... In Javascript there is a potential syntactic ambiguity in which {...} can be interpreted as either a block statement or an object literal. The parens...
Is there any XSD created for JSON structure? The idea/purpose represent JSON within a full blown heavy weight XML XSD. Thanks Cheenu [Non-text portions of this...
Is that different than this? http://www.kokogiak.com/gedankengang/2006/05/consuming-amazons-web-api-directly.html J ... -- Jason Levitt | Evangelista Técnico...
I need to create a JSON object using the Java json.org API in the format of the following example: {"test":{"97523":{"attrs":{},"name":{"rec":41523}}, ...
use JSONArray: {"test":["97523":{"attrs":{},"name":{"rec":41523}}, "654712":{"attrs":{},"name":{"rec":106512}},"3895608":{"attrs":{},"name":{"rec":238908}}], ...
Well, if you dig API little, you would come to know that it uses HashMap that does not keep that element in any order. May be you can use LinkedHashMap for...
I just uploaded my XSLT 1.0 stylesheet that converts any XML data to JSON. Check out the XML 2 JSON project homepage <https://json-xslt.codebase.ebay.com/>...
Hi, I'm using JSON via JSRS (a kind of simpler pre-cursor to AJAX) with a J2EE application. We have a complex XSLT-based user interface and I'm using AJAX to...
Sorry, the JavaScript was not quite right and didn't format very well, here it is again: function updateScreenCallback(result) { try { var result = eval('(39; +...
I'm wondering if there's any examples of using json to submit a form using AJAX. I need a JS library that will convert a form in to an associative array so I ...
Here's a strange situation to me. I'm new to Javascript and so I expect I'm missing something here. // Using GoogleMaps API to return the bounds of a map: var...
Hello all, I've searched for an existing discussion on this subject and couldn't find one, so I apologize if I'm duplicating an existing thread. I'm quite...
... A commercial toolkit I've used in the past uses the second form below. That works well because you can take one record and manipulate or use it without ...
I've managed to determine that there are no new lines, form feeds or carriage return characters in the JSON text, nor any un-escaped double quotes. However...