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

Make JSONB provider to support interface deserialisation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • Wanted But Unscheduled
    • 4.5.6.Final
    • jaxrs
    • None

      Currently JSONB doesn't support interface deserialisation directly, so we can provide a way to do it in RESTEasy.

      Taking Jackson annotation as reference:

      https://stackoverflow.com/questions/46050845/how-to-deserialize-an-interface-with-json-b

      We can provide a simliar annotation named `@DeserializeAs` for now.

              weli@redhat.com Weinan Li
              weli@redhat.com Weinan Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: