Coder Social home page Coder Social logo

online-yaml-parser's Introduction

online-yaml-parser's People

Contributors

ptarjan avatar xhmikosr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

online-yaml-parser's Issues

Please add line numbers

Hi there.
Thank you for this very useful tool.
It would be much more useful if you could add line numbers to the code view.
When you get errors, they refer to line numbers and then you have to guess... If you could see the numbers, that would be super!

Thanks.

Anchor and reference for same node not working

Consider below YAML

- just: write some
- yaml:     
    node1:
      type: type1
      properties: &node1_prop
        role: management
        ip_version: ipv4

    node2:
      type: type2
      properties: &node2_prop *node1_prop 
      requirements:
        - dependency: node1

    node3:
      type: type3
      properties: *node2_prop
      requirements:
        - dependency: node2

Parsing above throws error, while it should be parsed successfully.

Example 11 does not work

Example 11 outputs the following error:

ERROR:

while constructing a mapping
  in "<unicode string>", line 1, column 1:
    ? - Detroit Tigers
    ^
found unacceptable key (list objects are unhashable)
  in "<unicode string>", line 1, column 3:
    ? - Detroit Tigers
      ^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.