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

YAML Provider should support POJO binding

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.0.15.Final
    • 3.0.14.Final
    • None
    • None

    Description

      The current YAML provider ignores the POJO type passed in, and instead uses the default type mapping for SnakeYAML, which is a Map.

      Maybe it wasn't available at the time, but SnakeYAML now supports a loadAs method which can load to a POJO.

      Attachments

        Activity

          People

            weinanli Weinan Li
            meetoblivion_jira John Ament (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: