Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

JSON::Coder#load_file

load(path) → Object

Parse the given JSON document and return an equivalent Ruby object.

See also #load #parse #generate also in 4.0