Module | JSON::Editor |
In: |
lib/json/editor.rb
|
TITLE | = | 'JSON Editor'.freeze | Beginning of the editor window title | |
CONTENT_COL | = | 0, 1, 2 | ||
CONTAINER_TYPES | = | %w[Array Hash].sort | JSON primitive types (Containers) | |
ALL_TYPES | = | (%w[TrueClass FalseClass Numeric String NilClass] + CONTAINER_TYPES).sort | All JSON primitive types | |
ALL_NODES | = | (ALL_TYPES + %w[Key]).sort | The Nodes necessary for the tree representation of a JSON document | |
DEFAULT_DIALOG_KEY_PRESS_HANDLER | = | lambda do |dialog, event| case event.keyval |