| Package | Description |
|---|---|
| sk.antons.json | |
| sk.antons.json.impl | |
| sk.antons.json.literal.impl | |
| sk.antons.json.match | |
| sk.antons.json.parse |
| Modifier and Type | Method and Description |
|---|---|
List<JsonValue> |
JsonValue.findAll(PathMatcher matcher)
Find all json values with defined path
|
List<String> |
JsonValue.findAllLiterals(PathMatcher matcher)
Find all json value with defined path and converts them to string value
|
JsonValue |
JsonValue.findFirst(PathMatcher matcher)
Find first json value with defined path
|
String |
JsonValue.findFirstLiteral(PathMatcher matcher)
Find first json value with defined path and converts it to string value
|
| Modifier and Type | Method and Description |
|---|---|
List<JsonValue> |
JsonValueImpl.findAll(PathMatcher matcher) |
void |
JsonObjectImpl.findAll(PathMatcher matcher,
List<JsonValue> values,
List<String> path) |
abstract void |
JsonValueImpl.findAll(PathMatcher matcher,
List<JsonValue> values,
List<String> path) |
void |
JsonArrayImpl.findAll(PathMatcher matcher,
List<JsonValue> values,
List<String> path) |
List<String> |
JsonValueImpl.findAllLiterals(PathMatcher matcher) |
JsonValue |
JsonValueImpl.findFirst(PathMatcher matcher) |
JsonValue |
JsonObjectImpl.findFirst(PathMatcher matcher,
List<String> path) |
abstract JsonValue |
JsonValueImpl.findFirst(PathMatcher matcher,
List<String> path) |
JsonValue |
JsonArrayImpl.findFirst(PathMatcher matcher,
List<String> path) |
String |
JsonValueImpl.findFirstLiteral(PathMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonLiteralImpl.findAll(PathMatcher matcher,
List<JsonValue> values,
List<String> path) |
JsonValue |
JsonLiteralImpl.findFirst(PathMatcher matcher,
List<String> path) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimplePathMatcher
Check path with provided sequence of string values.
|
| Modifier and Type | Method and Description |
|---|---|
static List<JsonLiteral> |
LiteralParser.all(JsonSource source,
PathMatcher matcher)
All literals with mathed path.
|
static List<String> |
LiteralParser.allAsString(JsonSource source,
PathMatcher matcher)
All literals with mathed path converted to string.
|
static JsonLiteral |
LiteralParser.first(JsonSource source,
PathMatcher matcher)
First literal with mathed path.
|
static String |
LiteralParser.firstAsString(JsonSource source,
PathMatcher matcher)
First literal with mathed path converted to string.
|
Copyright © 2018. All rights reserved.