behrang / YamlSwift

Load YAML and JSON documents using Swift
MIT License
404 stars 97 forks source link

Processing nested arrays will throw an error #85

Open Wink-XZ-Li opened 1 year ago

Wink-XZ-Li commented 1 year ago

When the value of the key-value pair is a nested array, if the indentation of the value is the same as the indentation length of the key, an error will be thrown -- ("expected dedent after dash indent, near \"- inputs\""). The example is as follows:

args:
- lookup:
  - inputs