Skip to content

dimsssss/yaml-parser

Repository files navigation

yaml-parser

yaml-parser convert yaml file to javascript object

I referred to the following link

https://codingchallenges.fyi/challenges/challenge-yaml

type

Currently, only the following types are supported.

object

name: Coding Challenges
challenge:
  name: YAML Parser
{
  "name": "Coding Challenges",
  "challenge": {
    "name": "YAML Parser"
  }
}

number

number: 1
{
  "number": 1
}

boolean

isGood: true
isNotGood: false
{
  "isGood": true,
  "isNotGood": false
}

null

good: null
{
  "good": null
}

>

message: >
  this is an example
  yaml parser
{
  "message": "this is an example\nyaml parser"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors