Skip to content
instance method

JSON#load_file

(::string path, ?::JSON::options opts) -> untyped
JSON.load_file(path, opts={}) → object

Calls:

Example
parse(File.read(path), opts)

See method parse.

See also #load_file! #load #generate #parse also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0