Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.Beta1
    • Component/s: jaxrs
    • Labels:
      None

      Description

      Section 11.2.7 of the JAX-RS 2.1 spec states,
      "Note that if JSON-B and JSON-P are both supported in the same
      environment, entity providers for JSON-B take precedence over
      those for JSON-P for all types except JsonValue and its sub-types."

      The sub-types of JsonValue are JsonArray, JsonNumber, JsonObject,
      JsonString, JsonStructure. Resteasy's JSON-P providers currently
      supports this.

      Currently I don't see that we manage the builtin providers by priority and
      and with the requirement above we may need to. We need to made sure the
      JSON-P providers are checked before the JSON-B provider. In addition
      currently a JSON-B object must be annotated with NoJackson so that our
      Jackson implementation does not process the object first.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jim.ma Jim Ma
                Reporter:
                rsearls R Searls
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: