method

fast_generate

Importance_1
fast_generate(obj, opts = nil) public

Generate a JSON document from the Ruby data structure obj and return it. This method disables the checks for circles in Ruby objects.

WARNING: Be careful not to pass any Ruby data structures with circles as obj argument because this will cause JSON to go into an infinite loop.

Show source
Register or log in to add new notes.