Archive

Posts Tagged ‘JSON’

RESTful new Custom Search API by Google

Nov 19th, 2010

Google has announced new API for Custom Search. It is currently in Labs. It is always confusing for me to what API is for what use. Google has lots of search API for different usage. Google already has this API for Custom Search.
[This code has been committed to GitHub.]… (Continue)

JSON got Native Support in ECMAScript 5th Edition

Dec 16th, 2009

ECMA has approved the 5th edition of ECMAScript. This includes the native support of JSON. This will help in using JSON in more secure way and it will also allow faster parsing of JSON. JSON is used widely as data interchange format. It is used in place of XML. Many think… (Continue)

Parse JSON using JSON Parser or eval()!

Oct 5th, 2008

JSON is in use for data interchange format. It is accepted in many programming language whether client side or server side language. So, learning JSON and using it securely is needed.
Both JavaScript and PHP has in-built functions for this.
JSON parser function is useful if your JSON text is… (Continue)

JavaScript Object Notation (JSON)

Jun 29th, 2008

JavaScript Object Notation (JSON) is a data-interchange format. JSON text format is familiar to programmers of many languages. JSON object is a valid JS, so it can be used directly.
JSON structures:
1. {Key1: value1, Key2: value2,…}
2. [Value1, value2,…]
Key can be string. This can take any characters except… (Continue)

Associative array in Javascript

Jun 14th, 2008

Javascript do not have associative array like PHP. In PHP you may have enjoyed associative array.
Here is something similar to associative array in JavaScript. But as it is not an associative array, so you cannot use JavaScript array methods. It is JSON style Object representation.

<script type=”text/javascript”>

var salesPerson… (Continue)

Mobify empowers marketers and developers to create amazing mobile web experiences. Tap to learn more

Mobify