Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crul
master
Crul
CLI
Command
CookieStore
Cookies
Formats
Formatters
Auto
Base
JSON
PrettyPrinter
Plain
XML
PrettyPrinter
Element
Methods
Options
Generated using Crystal 1.14.0
2024-11-26 07:01:42 UTC
class
Crul::
Formatters::
JSON::
PrettyPrinter
Crul::Formatters::JSON::PrettyPrinter
Reference
Object
Overview
Pretty printer for JSON
Defined in:
formats.cr
Constructors
.new
(input : IO | String, output : IO)
Instance Method Summary
#print
(value)
#print
#print_indent
#read_any
#read_array
#read_object
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
]