Skip to content

Quoted keys are not un-quoted #62

@apfeltee

Description

@apfeltee

Given the input file...

[foo]
  "bar" = "baz"

... The key bar is returned as "bar". To make this a bit clearer:

require "toml"
pp TOML.load(<<'__eos__')
[foo]
  "bar" = "baz"
__eos__
# {"foo"=>{"\"bar\""=>"baz"}}

The returned hash includes the key bar erroneously still wrapped in quotes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions