method
generate
v2_6_3 -
Show latest stable
- Class:
JSON::Ext::Generator::State
generate(p1)public
Generates a valid JSON document from object obj and returns the result. If no valid JSON document can be created this method raises a GeneratorError exception.