Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pretty
v0.7.4
Pretty
Crystal
Date
ParseError
Diff
Entry
Dir
Error
Backtrace
V023
V024
File
Json
Printer
MemInfo
Method
NotFound
ProcessInfo
Stopwatch
Last
Stat
Time
ParseError
UsedMemory
Version
Built with Crystal 1.9.2
2023-10-08 09:03:18 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
]