An Introduction to Ruby’s JSON Library

The de facto standard in data portability across web applications and services, JSON has a concise yet powerful syntax for sharing data across platforms. In this short video tutorial from my recent Essential Ruby Libraries course, you’ll learn about Ruby’s JSON library and experiment with parsing and generating JSON structures.

Watch the Tutorial

Here are the links I mention in the video:

  • JSON Specification Page
  • Documentation on JSON

Watch the Full Course

In the full course, Essential Ruby Libraries, you’ll learn how to use the standard libraries that come bundled in with every installation of Ruby. I’ll teach you how to:

  • manipulate YAML, CSV and JSON data
  • fetch content from the web using Net::HTTP and the URI library
  • build Rake tasks
  • manage files

You’ll be amazed how much can be accomplished using only the standard Ruby libraries! Each library will be taught with simple examples and exercises that you can adapt for your own programming problems.