Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pretty
v0.5.5
Pretty
Diff
Entry
Error
Backtrace
V023
V024
Json
Printer
Time
ParseError
Built with Crystal 1.9.2
2023-10-08 09:03:39 UTC
class
Pretty::Json::Printer
Pretty::Json::Printer
Reference
Object
Overview
https://github.com/crystal-lang/crystal/blob/master/samples/pretty_json.cr
Defined in:
pretty/json.cr
Constructors
.new
(input : IO, output : IO)
Instance Method Summary
#print
(value)
#print
#print_indent
#read_any
#read_array
#read_object
Constructor Detail
def self.
new
(input : IO, 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
]