Package | Description |
---|---|
jsonvalues |
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
|
Modifier and Type | Class and Description |
---|---|
class |
Index
represents the index of a value in a json array.
|
class |
Key
represents the key of a value in a json object
|
Modifier and Type | Method and 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 position
this JsPath if it's not empty or an exception otherwise. |
Modifier and Type | Method and Description |
---|---|
Stream<Position> |
JsPath.stream()
Returns a sequential
Stream of Positions with this path as its source. |
Modifier and Type | Method and Description |
---|---|
int |
Key.compareTo(Position o)
compares this key with another given position.
|
int |
Index.compareTo(Position o)
Compares this index with another given position.
|
Copyright © 2022. All rights reserved.