We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.
::
1 parent 178d7bb commit f5c1b8cCopy full SHA for f5c1b8c
lib/json/common.rb
@@ -1072,7 +1072,7 @@ def j(*objs)
1072
end
1073
1074
objs.each do |obj|
1075
- puts JSON::generate(obj, :allow_nan => true, :max_nesting => false)
+ puts JSON.generate(obj, :allow_nan => true, :max_nesting => false)
1076
1077
nil
1078
@@ -1087,7 +1087,7 @@ def jj(*objs)
1087
1088
1089
1090
- puts JSON::pretty_generate(obj, :allow_nan => true, :max_nesting => false)
+ puts JSON.pretty_generate(obj, :allow_nan => true, :max_nesting => false)
1091
1092
1093
0 commit comments