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

use SnakeYaml for YAML provider

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0.GA, 2.2-beta-1
    • Fix Version/s: 2.2.RC1
    • Component/s: jaxrs
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                prabhat.jha Prabhat Jha
                Reporter:
                prabhat.jha Prabhat Jha
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: