Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-543

use SnakeYaml for YAML provider


    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.2.RC1
    • 2.1.0.GA, 2.2-beta-1
    • jaxrs
    • None

      Finally to right issue tracker. Copying from my comment at:https://sourceforge.net/tracker/?func=detail&atid=932479&aid=3301186&group_id=190222

      Currently YAML support is provided by jYaml which has been inactive since 2007. Specially when there is a problem, its stack trace is not very helpful. For example:
      Caused by: java.lang.NullPointerException
      at org.ho.yaml.JYamlParserEvent.getBean(Unknown Source)
      at org.ho.yaml.YamlDecoder.readObject(Unknown Source)
      at org.ho.yaml.YamlConfig.load(Unknown Source)
      at org.ho.yaml.YamlConfig.load(Unknown Source)
      at org.ho.yaml.Yaml.load(Unknown Source)

      SnakeYAML seems to be a vibrant project and used across several other projects. We should use this instead.

            prabhat.jha Prabhat Jha (Inactive)
            prabhat.jha Prabhat Jha (Inactive)
            0 Vote for this issue
            0 Start watching this issue