jeremyfa / yaml.js

Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Array bracket syntax produces parse error

kyeotic opened this issue · comments

Check out this runkit example

It doens't like brackets for arrays, even though its valid YAML. checkout this online parser working

---
paths:
  /instance/{instance_id}:
    get:
      tags: [
        "Instance"
      ]

Yeah. I get this too.