Class JsonAssertions


  • public final class JsonAssertions
    extends Object
    • Method Detail

      • json

        public static Object json​(Object input)
        JSON to be used in expected part of the assertion,
        Parameters:
        input -
        Returns:
        Object suitable for comparison. Implementation type may change in the future.
      • value

        public static Object value​(Object input)
        Value passed here is not parsed as JSON but used as it is