Uses of Interface
jsonvalues.Position
-
Packages that use Position Package Description jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way. -
-
Uses of Position in jsonvalues
Classes in jsonvalues that implement Position Modifier and Type Class Description class
Index
represents the index of a value in an json array.class
Key
represents the key of a value in a json objectFields in jsonvalues with type parameters of type Position Modifier and Type Field Description static Prism<Position,Integer>
Index. prism
prism between the sum type Position and Indexstatic Prism<Position,String>
Key. prism
prism between the sum type Position and KeyMethods in jsonvalues that return Position Modifier and Type Method Description Position
JsPath. head()
Returns the head of this path if it's not empty, throwing an exception otherwise.Position
JsPath. last()
returns the last positionthis
JsPath if it's not empty or a exception otherwise.Methods in jsonvalues that return types with arguments of type Position Modifier and Type Method Description Stream<Position>
JsPath. stream()
Returns a sequentialStream
of Positions with this path as its source.Methods in jsonvalues with parameters of type Position Modifier and Type Method Description int
Index. compareTo(Position o)
Compares this index with another given position.int
Key. compareTo(Position o)
compares this key with another given position.int
Position. compareTo(Position o)
-