editor.rb

Path: lib/json/editor.rb
Last Update: Fri Mar 19 04:36:40 -0600 2010

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]