JavaScript JSON Cookbook Front Cover

JavaScript JSON Cookbook

  • Length: 220 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2015-07-31
  • ISBN-10: 1785286900
  • ISBN-13: 9781785286902
  • Sales Rank: #4094451 (See Top 100 Books)
Description

Over 80 recipes to make the most of JSON in your desktop, server, web, and mobile applications

About This Book

  • Create fast and dynamic JavaScript applications that implement JSON
  • Practical examples to show you how to leverage JSON from a variety of application domains
  • Become the go-to person for building JSON-enabled web applications in your organization

Who This Book Is For

If you’re writing applications that move structured data from one place to another, this book is for you. This is especially true if you’ve been using XML to do the job because it’s entirely possible that you could do much of the same work with less code and less data overhead in JSON.

While the book’s chapters make some distinction between the client and server sides of an application, it doesn’t matter if you’re a frontend, backend, or full-stack developer. The principles behind using JSON apply to both the client and the server, and in fact, developers who understand both sides of the equation generally craft the best applications.

What You Will Learn

  • Learn to use JSON in a type-safe way to avoid common data typing errors
  • Exchange data with NoSQL databases such as MongoDB and CouchDB with JSON
  • Make the most of JSON in AJAX web applications, with or without a framework
  • Exchange data between servers and mobile applications running on Android and iOS with JSON
  • Practical examples to show you how to leverage JSON from a variety of application domains

In Detail

JSON (JavaScript Object Notation) is a lightweight text-based data interchange format used to create objects to transfer data over the Internet. It’s widely used today by common web applications, as well as mobile applications.

This book gives you clear ways that you can exchange objects using JSON, regardless of whether you’re developing a web or traditional networked application. You’ll start with a brief refresher on JSON and JavaScript syntax and read and write on the client and server. Then, you’ll learn how to use JSON in simple AJAX applications using AngularJS and jQuery. Next, you will learn how to exchange objects with databases using MongoDB and CouchDB. You’ll also explore how to use JSON in a type-safe manner, writing programs that have fewer bugs.

Table of Contents

Chapter 1: Reading and Writing JSON on the Client
Chapter 2 : Reading and Writing JSON on the Server
Chapter 3 : Using JSON in Simple AJAX Applications
Chapter 4 : Using JSON in AJAX Applications with jQuery and AngularJS
Chapter 5 : Using JSON with MongoDB
Chapter 6 : Using JSON with CouchDB
Chapter 7 : Using JSON in a Type-Safe Manner
Chapter 8 : Using JSON for Binary Data Transfer
Chapter 9 : Querying JSON with JSONPath and LINQ
Chapter 10 : JSON on Mobile Platforms

To access the link, solve the captcha.