Outputs objs to STDOUT as JSON strings in the shortest form, that is in one line.
[Source]
# File lib/json.rb, line 626 626: def j(*objs) 627: objs.each do |obj| 628: puts JSON::unparse(obj) 629: end 630: nil 631: end
Ouputs objs to STDOUT as JSON strings in a pretty format, with indentation and over many lines.
# File lib/json.rb, line 635 635: def jj(*objs) 636: objs.each do |obj| 637: puts JSON::pretty_unparse(obj) 638: end 639: nil 640: end
[Validate]