toString_

Generates a stringified JSON representation of the contents of the given node.

string
toString_

Parameters

node json.node.Node

a JSON tree

pretty bool

whether the output should be prettyfied for printing

Return Value

Type: string

the string representation of the node