Class JsonSupport

java.lang.Object
org.citrusframework.dsl.JsonSupport

public class JsonSupport extends Object
Author:
Christoph Deppisch
  • Constructor Details

    • JsonSupport

      public JsonSupport()
  • Method Details

    • json

      Static entrance for all Json related Java DSL functionalities.
      Returns:
    • validate

      public static <T> JsonMappingValidationProcessor.Builder<T> validate(Class<T> type)
      Static entrance for Json mapping validation that uses object mapper to perform Json object validation.
      Type Parameters:
      T -
      Parameters:
      type -
      Returns:
    • marshal

      public static ObjectMappingPayloadBuilder marshal(Object payload)
      Static builder method constructing a mapping payload builder.
      Parameters:
      payload -
      Returns:
    • marshal

      public static ObjectMappingPayloadBuilder marshal(Object payload, com.fasterxml.jackson.databind.ObjectMapper mapper)
      Static builder method constructing a mapping payload builder.
      Parameters:
      payload -
      mapper -
      Returns: