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#parse

parse(source)

Alias of #load

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

See also #load #load_file also in 4.0