Skip to content

[REQ][java rest-assured] support for jackson #3570

@jmini

Description

@jmini

For the moment the java rest-assured is configured to use gson.

In some scenario using Jackson instead of gson is required. Rest-assured supports both serialization library:

REST Assured supports mapping Java objects to and from JSON and XML. For JSON you need to have either Jackson, Jackson2, Gson or Johnzon in the classpath and for XML you need JAXB.
(..)
It will first try to use Jackson if found in classpath and if not Gson will be used.

See https://github.com/rest-assured/rest-assured/wiki/Usage#object-mapping


The rest-assured templates can be extend to support either jackson or gson (current default).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions