# File lib/json/editor.rb, line 556
556:       def paste(item)
557:         c = Gtk::Clipboard.get(Gdk::Selection::PRIMARY)
558:         if json = c.wait_for_text
559:           window.ask_save if @changed
560:           begin
561:             window.edit json
562:           rescue JSON::ParserError
563:             window.clear
564:           end
565:         end
566:       end