module JSON
Public Class Methods
pretty_generate(object, options = nil)
click to toggle source
# File lib/kumogata/ext/json_ext.rb, line 5 def pretty_generate(object, options = nil) begin pretty_generate_orig(object, options) rescue JSON::NestingError => e e.message << ': Undefined function may have been referenced [e.g. _user_data()/_join()]' raise e end end
Also aliased as: pretty_generate_orig