Ruby latest stable (v1_9_3_392) - 0 notes - Class: JSON

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

pretty_generate(obj, opts = nil) public

Generate a JSON document from the Ruby data structure obj and return it. The returned document is a prettier form of the document returned by #unparse.

The opts argument can be used to configure the generator. See the generate method for a more detailed explanation.

Show source
Register or log in to add new notes.