public static final class AssertJJsonValueAssert.ObjectJsonValueAssert extends AssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.ObjectJsonValueAssert>
JsonValue.| Modifier and Type | Method and Description |
|---|---|
AssertJJsonValueAssert.ObjectJsonValueAssert |
contains(org.assertj.core.data.MapEntry... entries)
Check that this object contains the specified properties.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
contains(String key,
Object value)
Check that this object contains a property with the given name, and value.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
containsExactly(org.assertj.core.data.MapEntry... entries)
Check that this object contains exactly the specified properties.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
containsField(String key)
Check that this object contains a field with the specified name.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
containsFields(String... keys)
Check that this object contains fields with the specified names.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
containsOnly(org.assertj.core.data.MapEntry... entries)
Check that this object only contains the specified properties.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
doesNotContain(org.assertj.core.data.MapEntry... entries)
Check that this object does not contain a property with the given name, and value.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
doesNotContain(String key,
Object value)
Check that this object does not contain a property with the given name, and value.
|
AssertJJsonValueAssert.ObjectJsonValueAssert |
isEmpty()
Check that the JSON is either an array or an object and is empty.
|
booleanAt, booleanIs, doesNotContain, doubleAt, doubleIs, hasArray, hasBoolean, hasNull, hasNumber, hasObject, hasPath, hasString, integerAt, integerIs, isArray, isBoolean, isDouble, isInteger, isLong, isNotNull, isNull, isNumber, isObject, isSet, isString, longAt, longIs, stringAt, stringIsas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotOfAnyClassIn, isNotSameAs, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator, withFailMessage, withThreadDumpOnErrorpublic AssertJJsonValueAssert.ObjectJsonValueAssert isEmpty()
AssertJJsonValueAssert.AbstractJsonValueAssertisEmpty in class AssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.ObjectJsonValueAssert>public AssertJJsonValueAssert.ObjectJsonValueAssert contains(String key, Object value)
key - The name of the object property.value - The expected value.AbstractMapAssert.containsEntry(K, V)public AssertJJsonValueAssert.ObjectJsonValueAssert contains(org.assertj.core.data.MapEntry... entries)
entries - The expected values.AbstractMapAssert.contains(java.util.Map.Entry<? extends K, ? extends V>...)public AssertJJsonValueAssert.ObjectJsonValueAssert containsOnly(org.assertj.core.data.MapEntry... entries)
entries - The expected values.AbstractMapAssert.containsOnly(java.util.Map.Entry<? extends K, ? extends V>...)public AssertJJsonValueAssert.ObjectJsonValueAssert containsExactly(org.assertj.core.data.MapEntry... entries)
entries - The expected values.AbstractMapAssert.containsExactly(java.util.Map.Entry<? extends K, ? extends V>...)public AssertJJsonValueAssert.ObjectJsonValueAssert containsField(String key)
key - The expected key.AbstractMapAssert.containsKey(K)public AssertJJsonValueAssert.ObjectJsonValueAssert containsFields(String... keys)
keys - The expected keys.AbstractMapAssert.containsKeys(K...)public AssertJJsonValueAssert.ObjectJsonValueAssert doesNotContain(String key, Object value)
key - The name of the object property.value - The expected value it should not equal if it exists.AbstractMapAssert.doesNotContainEntry(K, V)public AssertJJsonValueAssert.ObjectJsonValueAssert doesNotContain(org.assertj.core.data.MapEntry... entries)
entries - The expected entries that should not exist.AbstractMapAssert.doesNotContain(java.util.Map.Entry<? extends K, ? extends V>...)Copyright © 2025 Open Identity Platform Community. All rights reserved.