This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
edit(json)
public
Edit the string json in the editor.
# File ext/json/lib/json/editor.rb, line 1202
def edit(json)
if json.respond_to? :read
json = json.read
end
data = parse_json json
view_new_model Editor.data2model(data)
end