Class | JsonPrinter |
In: |
lib/neo4jr-social/json_printer.rb
|
Parent: | Object |
Please see github.com/techcrunch/json_printer
ESCAPED_CHARS | = | { "\010" => '\b', "\f" => '\f', "\n" => '\n', "\r" => '\r', "\t" => '\t', '"' => '\"', '\\' => '\\\\', '>' => '\u003E', '<' => '\u003C', '&' => '\u0026'} | Special JSON character escape cases. |
buf | [R] | |
indent | [R] |
obj<Object>: | The object to be rendered into JSON. This object and all of its associated objects must be either nil, true, false, a String, a Symbol, a Numeric, an Array, or a Hash. |
<String>: | The pretty-printed JSON ecoding of the given obj. This string can be parsed by any compliant JSON parser without modification. |
See JsonPrinter docs.