Skip navigation links
A B C E F H I J M R V W 

A

array(Object) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
When you want to assert values in a array with a given name
array() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
When in JSON path you iterate over a nameless array
arrayField() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
When you want to compare values of a field in a nameless array
assertThat(String) - Static method in class com.toomuchcoding.jsonassert.JsonAssertion
Starts assertions for the JSON provided as String
assertThat(DocumentContext) - Static method in class com.toomuchcoding.jsonassert.JsonAssertion
Starts assertions for the JSON provided as DocumentContext
assertThatJson(String) - Static method in class com.toomuchcoding.jsonassert.JsonAssertion
Helper method so that there are no clashes with other static methods of that name
assertThatJson(DocumentContext) - Static method in class com.toomuchcoding.jsonassert.JsonAssertion
Helper method so that there are no clashes with other static methods of that name

B

builder() - Static method in class com.toomuchcoding.jsonassert.JsonPath
Returns a builder of JsonVerifiable with which you can build your JSON Path.
builder(String) - Static method in class com.toomuchcoding.jsonassert.JsonPath
Using a JSON Path builder for the given JSON you can read its value.

C

com.toomuchcoding.jsonassert - package com.toomuchcoding.jsonassert
 
contains(Object) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Assertion of a field inside an array.

E

elementWithIndex(int) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Provides the JsonVerifiable for the index element of the array

F

field(Object) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Field assertion.
field(String...) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Field assertions.

H

hasSize(int) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Checks if the array is of a given size.

I

isAssertingAValueInArray() - Method in interface com.toomuchcoding.jsonassert.IteratingOverArray
True if current element is a particular value on which concrete assertion will take place
isEmpty() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Checks if the array is empty
isEqualTo(String) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
0Equality comparison with String
isEqualTo(Object) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Equality comparison with any object
isEqualTo(Number) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Equality comparison with a Number
isEqualTo(Boolean) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Equality comparison with a Boolean
isInstanceOf(Class) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Checks if instance is the same type
isIteratingOverArray() - Method in interface com.toomuchcoding.jsonassert.IteratingOverArray
True if is in progress of iterating over an array
isIteratingOverNamelessArray() - Method in interface com.toomuchcoding.jsonassert.IteratingOverArray
True if is in progress of iterating over nameless array
isNull() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Equality comparison to null
IteratingOverArray - Interface in com.toomuchcoding.jsonassert
Helper interface describing the process of current iteration

J

JsonAssertion - Class in com.toomuchcoding.jsonassert
Entry point for assertions.
JsonPath - Class in com.toomuchcoding.jsonassert
Builder of JSON Paths.
JsonPath() - Constructor for class com.toomuchcoding.jsonassert.JsonPath
 
jsonPath() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Returns current JSON Path expression
JsonReader - Interface in com.toomuchcoding.jsonassert
Contract to read the value from a JSON basing on it.
JsonVerifiable - Interface in com.toomuchcoding.jsonassert
Contract to match a parsed JSON via JSON Path

M

matches(String) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Regex matching for strings
matchesJsonPath(String) - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Checks if the parsed document matches given JSON Path

R

read(Class<T>) - Method in interface com.toomuchcoding.jsonassert.JsonReader
Returns the value from the JSON, based on the created JSON Path.

V

value() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Syntactic sugar for checking against an array of primitives

W

withoutThrowingException() - Method in interface com.toomuchcoding.jsonassert.JsonVerifiable
Calling this method will setup the fluent interface to ignore any JSON Path verification
A B C E F H I J M R V W 
Skip navigation links

Copyright © 2015–2023. All rights reserved.