class Crul::Formatters::JSON::PrettyPrinter

Overview

taken almost verbatim from https://github.com/crystal-lang/crystal/blob/c551b35cb170893ad5454db0122dc28789d40bef/samples/pretty_json.cr needed changes:

Defined in:

formatters/json.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : IO | String, output : IO) #

[View source]

Instance Method Detail

def print(value) #

[View source]
def print #

[View source]
def print_indent #

[View source]
def read_any #

[View source]
def read_array #

[View source]
def read_object #

[View source]