background preloader


Facebook Twitter


Understanding JSON: the 3 minute lesson. 'Simon' on Sun, 23 Jul 2006 18:22:02 GMT, sez: Brilliant.

Understanding JSON: the 3 minute lesson

I had (sub-consiously) followed steps 1 to 4 exactly as you describe, except the alarm bells were 3 days ago. Thankyou for saving me the agro of looking it up for myself. 'John' on Sun, 23 Jul 2006 19:35:19 GMT, sez: INI files Rule! Anyway, nice post on LEON er, JSON. 'Rumen Stankov' on Mon, 24 Jul 2006 06:29:04 GMT, sez: Ah!

'Wesley Shephard' on Mon, 24 Jul 2006 22:20:38 GMT, sez: Interesting. SQL injection, take two? 'lb' on Tue, 25 Jul 2006 00:04:01 GMT, sez: yeh it looks very 'injectable' -- maybe more prone to XSS (cross site scripting) than sql injection... i guess the main trick is html encoding all user input, so it can't be interpreted as html (or javascript). 'Dustin Diaz' on Tue, 25 Jul 2006 13:49:44 GMT, sez: JSON in and of itself is not what's OO. 'Aaron Bassett' on Tue, 25 Jul 2006 14:30:35 GMT, sez: 'lb' on Wed, 26 Jul 2006 05:07:27 GMT, sez: true -- but client side you have to be careful as well. cheers lb Vacation? Hello, Json.NET - Newtonsoft. Popular high-performance JSON framework for .NET Version 6.0.2 - Created by James Newton-King - Product product = new Product();product.Name = "Apple";product.Expiry = new DateTime(2008, 12, 28);product.Sizes = new string[] { "Small" }; string json = JsonConvert.SerializeObject(product); Serialize JSON Deserialize JSON JArray array = new JArray();array.Add("Manual text");array.Add(new DateTime(2000, 5, 23)); JObject o = new JObject();o["MyArray"] = array; string json = o.ToString(); LINQ to JSON Validate JSON World-class JSON Serializer Serialize and deserialize any .NET object with Json.NET's powerful JSON serializer.

Json.NET - Newtonsoft

LINQ to JSON Create, parse, query and modify JSON using Json.NET's JObject/JArray/JValue objects. JSON Schema Validation Validate incoming JSON using JSON Schema. High Performance 50% faster than DataContractJsonSerailzier, 250% faster than JavaScriptSerializer. Easy To Use. Introducing JSON. - Scott Hanselman - Serializing Objects as JavaS. Speeding Up AJAX with JSON. When Microsoft added the ActiveX XMLHTTP object to Internet Explorer's implementation of JavaScript, the company planted the seed for the revolution in Web applications known as Asynchronous JavaScript and XML, or AJAX.

Speeding Up AJAX with JSON

Today, Firefox, Safari, Opera, and other browsers all support what is now known as XMLHttpRequest, making possible sites such as,, and These and other sites feature applications that act and feel like other desktop applications—even though they're running in a browser. In AJAX, the JavaScript on the page sends requests to a Web server for data while the user's viewing and interacting with the page (hence the "asynchronous" part of AJAX).

Those requests are HTTP requests just like the one the browser used to retrieve the page in the first place, as well as any images, stylesheets, and so forth. As such, the XMLHttpRequest object can be used to retrieve any kind of data, not just XML. Fortunately, there's a better way. <? Page 1 of 2. Atlas notes : Implementing a Slider control with the Atlas frame.