The type of a configuration value (following the <a href=“JSONjson.org”>JSON> type schema).
# File lib/hocon/impl/config_document_parser.rb, line 34 def self.parse(tokens, origin, options) syntax = options.syntax.nil? ? ConfigSyntax::CONF : options.syntax context = Hocon::Impl::ConfigDocumentParser::ParseContext.new(syntax, origin, tokens) context.parse end
# File lib/hocon/impl/config_document_parser.rb, line 40 def self.parse_value(tokens, origin, options) syntax = options.syntax.nil? ? ConfigSyntax::CONF : options.syntax context = Hocon::Impl::ConfigDocumentParser::ParseContext.new(syntax, origin, tokens) context.parse_single_value end