Skip to content
instance method

JSON::Ext::ParserConfig#parse

parse(source)

Parses the current JSON text source and returns the complete data structure as a result. It raises JSON::ParserError if fail to parse.

See also .new also in 4.1