Beginning JSON
备注:JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。它基于JavaScript(Standard ECMA-262 3rd Edition - December 1999)的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯(包括C, C++, C#, Java, JavaScript, Perl, Python等)。这些特性使JSON成为理想的数据交换语言。 易于人阅读和编写,同时也易于机器解析和生成(网络传输速度)。
在线JSON校验格式化工具(Be JSON),可参阅http://www.bejson.com/。
Beginning JSON is the definitive guide to JSON - JavaScript Object Notation - today’s standard in data formatting for the web. The book starts with the basics, and walks you through all aspects of using the JSON format. Beginning JSON covers all areas of JSON from the basics of data formats to creating your own server to store and retrieve persistent data. Beginning JSON provides you with the skill set required for reading and writing properly validated JSON data.
The first two chapters of the book will discuss the foundations of JavaScript for those who need it, and provide the necessary understandings for later chapters. Chapters 3 through 12 will uncover what data is, how to convert that data into a transmittable/storable format, how to use AJAX to send and receive JSON, and, lastly, how to reassemble that data back into a proper JavaScript object to be used by your program. The final chapters put everything you learned into practice.
What youll learnFurther your understandings of the JavaScript languageHow to work with JSONData transmission via AjaxIncorporate Handlebars templates into your developmentGet up and running with NodeJSPerform HTTP requests to a local Web ServerImplement a NoSQL database for JSON retrieval and storageIncorporate JSON feeds from Social APIsWho this book is for
Beginning JSON is intended for front-end developers of all levels. One does not have had to have worked with JSON before. It’s for those who are seeking to work with data, Ajax, and the preferred data format of the web, JSON.