Class: Burly::Parsers::JsonParser Private

Inherits:
Burly::Parser show all
Defined in:
lib/burly/parsers/json_parser.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants inherited from Burly::Parser

Burly::Parser::URI_PARSER, Burly::Parser::URI_REGEXP

Instance Method Summary collapse

Methods inherited from Burly::Parser

#initialize

Constructor Details

This class inherits a constructor from Burly::Parser

Instance Method Details

#parseArray<String>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parse a JSON document for string values whose contents are absolute URLs.

Returns:

  • (Array<String>)


15
16
17
# File 'lib/burly/parsers/json_parser.rb', line 15

def parse
  recursive_parse(JSON.parse(@document))
end