Type Hierarchy:

A JSON Printer that prints to a String

By: Stéphane Épardaud
Initializer
StringPrinter(Boolean pretty = false)
Parameters:
  • pretty = false
Attributes
string
shared actual default String string

Returns the printed JSON

Refined declaration: string
Inherited Attributes
Attributes inherited from: Object
hash
Methods
print
shared actual void print(String string)

Appends the given value to our String representation

Refined declaration: print
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: Printer