Uses of Class
net.javacrumbs.jsonunit.fluent.JsonFluentAssert

Uses of JsonFluentAssert in net.javacrumbs.jsonunit.fluent
 

Methods in net.javacrumbs.jsonunit.fluent that return JsonFluentAssert
Modifier and Type Method and Description
 JsonFluentAssert JsonFluentAssert.as(String description)
          Sets the description of this object.
static JsonFluentAssert JsonFluentAssert.assertThatJson(Object json)
          Creates a new instance of JsonFluentAssert.
 JsonFluentAssert JsonFluentAssert.describedAs(String description)
          Sets the description of this object.
 JsonFluentAssert JsonFluentAssert.hasSameStructureAs(Object expected)
          Compares JSON structure.
 JsonFluentAssert JsonFluentAssert.ignoring(String ignorePlaceholder)
          Sets the placeholder that can be used to ignore values.
 JsonFluentAssert JsonFluentAssert.isAbsent()
          Fails if the node exists.
 JsonFluentAssert JsonFluentAssert.isEqualTo(Object expected)
          Compares JSON for equality.
 JsonFluentAssert JsonFluentAssert.isNotEqualTo(Object expected)
          Fails if compared documents are equal.
 JsonFluentAssert JsonFluentAssert.isPresent()
          Fails if the node is missing.
 JsonFluentAssert JsonFluentAssert.node(String path)
          Creates an assert object that only compares given node.
 JsonFluentAssert JsonFluentAssert.treatingNullAsAbsent()
          Deprecated. Use when(Option.TREATING_NULL_AS_ABSENT)
 JsonFluentAssert JsonFluentAssert.when(Option firstOption, Option... otherOptions)
          Sets options changing comparison behavior.
 JsonFluentAssert JsonFluentAssert.withTolerance(BigDecimal tolerance)
          Sets the tolerance for floating number comparison.
 JsonFluentAssert JsonFluentAssert.withTolerance(double tolerance)
          Sets the tolerance for floating number comparison.
 



Copyright © 2015. All Rights Reserved.