write-json

How to Write Json in Ruby

less than 1 minute read

Just like when parsing json in ruby you need to require the json library to write hashes and arrays to json strings. Unlike Javascript and PHP you don’t call...

How to Write Json in PHP

less than 1 minute read

In PHP JSON stringify and parse are part of the core libraries - however in PHP they are called json_encode and json_decode respectively. The latter was show...

How to Write Json in JavaScript

less than 1 minute read

Since json is short for JavaScript Object Notation - it does not come as a surprise that is a natural part of the javascript language. The JSON module has tw...