new(item)
Clear the model and filename, but ask to save the JSON document, if unsaved changes have occured.
# File ext/json/lib/json/editor.rb, line 490 def new(item) window.clear end