method

read_data

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

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.

read_data(filename)
public

Read a JSON document from the file named filename, parse it into a ruby data structure, and return the data.