editor.rb

Path: lib/json/editor.rb
Last Update: Wed Sep 17 04:44:53 +0000 2008

To use the GUI JSON editor, start the edit_json.rb executable script. It requires ruby-gtk to be installed.

Required files

gtk2   iconv   json   rbconfig   open-uri  

Methods

edit   start  

Public Class methods

Edit the string json with encoding encoding in the editor.

Starts a JSON Editor. If a block was given, it yields to the JSON::Editor::MainWindow instance.

[Validate]