mirror of
https://github.com/inspec/inspec
synced 2025-02-17 14:38:43 +00:00
As detected in #2036, it is not possible to extract values from a YAML file if the key is a symbol. This change refactors ObjectTraverser to support symbol keys before attempting to stringify them. Signed-off-by: Adam Leff <adam@leff.co>
10 lines
127 B
YAML
10 lines
127 B
YAML
name: vagrant
|
|
driver:
|
|
customize:
|
|
memory: 1024
|
|
platforms:
|
|
- linux
|
|
- mac
|
|
:symbol_key: 123
|
|
:symbol_key_deep:
|
|
foo: bar
|