Modifier and Type | Method | Description |
---|---|---|
static ParseOptions |
ParseOptions.builder() |
static factory method to create a builder to customize the parsing of a string into a json.
|
ParseOptions |
ParseOptions.withElemFilter(Predicate<? super JsPair> filter) |
adds a predicate to this builder to filter the elements of the json to be parsed, removing those
pairs that are evaluated to false on the predicate.
|
ParseOptions |
ParseOptions.withElemMap(Function<JsPair,JsElem> map) |
adds a function to this builder to map the elements of the json to be parsed
|
ParseOptions |
ParseOptions.withKeyFilter(Predicate<JsPath> keyFilter) |
adds a function to this builder to filter the keys of the json to be parsed.
|
ParseOptions |
ParseOptions.withKeyMap(UnaryOperator<String> keyMap) |
adds a function to this builder to map the keys of the json to be parsed.
|
Modifier and Type | Method | Description |
---|---|---|
static TryArr |
JsArray._parse_(String str,
ParseOptions options) |
Tries to parse the string into a mutable array, performing some operations while the parsing.
|
static TryObj |
JsObj._parse_(String str,
ParseOptions options) |
Tries to parse the string into an mutable object, performing some operations while the parsing.
|
static Try |
Json._parse_(String str,
ParseOptions options) |
Tries to parse the string into a mutable json, performing some operations while the parsing.
|
static TryArr |
JsArray.parse(String str,
ParseOptions options) |
Tries to parse the string into an immutable array, performing some operations during the parsing.
|
static TryObj |
JsObj.parse(String str,
ParseOptions options) |
Tries to parse the string into an immutable object, performing some operations during the parsing.
|
static Try |
Json.parse(String str,
ParseOptions options) |
Tries to parse the string into an immutable json, performing some operations while the parsing.
|
Copyright © 2019. All rights reserved.