method

create_node

ruby latest stable - Class: JSON::Editor::JSONTreeView

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

create_node(parent, type, content)
public

Create a type node with content content, and add it to parent in the model. If parent is nil, create a new model and put it into the editor treeview.