all
operator is similar to $in, but instead of matching any value in the specified array all values in the array must be matched.all
operator is similar to $in, but instead of matching any value in the specified array all values in the array must be matched.
with(json).assertThat("firstName", is(equalTo("Bobby"))).and().assertThat("lastName", is(equalTo("Ewing")))
with(json).assertThat("firstName", is(equalTo("Bobby"))).and().assertThat("lastName", is(equalTo("Ewing")))
Object
using serialization.Object
from the specified stream.Object
from an array of bytes.Double
Integer
Long
String
in
operator is analogous to the SQL IN modifier, allowing you
to specify an array of possible matches.in
operator is analogous to the SQL IN modifier, allowing you
to specify an array of possible matches.true
; otherwise
throwing an exception with the specified message.List
s)JsonModel
to an Collection
of ObjectsJsonModel
to an ObjectMap
s)JsonModel.MappingModelReader
for this JsonModel.JsonModel.MappingModelReader
for the JsonModel targeted by the provided JsonPath
.JsonModel.MappingModelReader
for the JsonModel targeted by the provided JsonPath
.nin
operator is similar to $in except that it selects objects for
which the specified field does not have any value in the specified array.nin
operator is similar to $in except that it selects objects for
which the specified field does not have any value in the specified array.notEmpty
operator checks that an array is not empty.null
nor a length of zero (no characters);
otherwise throwing an exception with the specified message.null
;
otherwise throwing an exception with the specified message.MappingProvider
JsonModel.ArrayOps
for this JsonModel.JsonModel.ArrayOps
for the array inside this JsonModel identified by the given JsonPath.JsonModel.ArrayOps
for the array inside this JsonModel identified by the given JsonPath.JsonModel.ObjectOps
for this JsonModel.JsonModel.ObjectOps
for the object inside this JsonModel identified by the given JsonPath.JsonModel.ObjectOps
for the object inside this JsonModel identified by the given JsonPath.Configuration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationConfiguration
and
returns a ReadContext
for path evaluationObject
to the specified stream.Object
to a byte array for
storage/serialization.size
operator matches any array with the specified number of elements.MappingProvider
JsonModel.ObjectOps
to the provided classIterable
Iterable
JsonModel.ListMappingModelReader.of(java.lang.Class<T>)
List
of objects with the provided class using the configured MappingProvider
Set
of objects with the provided class using the configured MappingProvider
ParseContext
that can be used to parse a given JSON input.ParseContext
that will parse a given JSON input.Copyright © 2011–2014. All rights reserved.