public class PathElementBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
static MatchablePathElement |
buildMatchablePathElement(String rawJsonKey)
Create a path element and ensures it is a Matchable Path Element
|
static List<PathElement> |
parseDotNotationRHS(String dotNotation)
Parse the dotNotation of the RHS.
|
static List<PathElement> |
parseList(List<String> keys,
String refDotNotation) |
static PathElement |
parseSingleKeyLHS(String origKey)
Visible for Testing.
|
public static MatchablePathElement buildMatchablePathElement(String rawJsonKey)
public static PathElement parseSingleKeyLHS(String origKey)
origKey - String that should represent a single PathElementpublic static List<PathElement> parseDotNotationRHS(String dotNotation)
public static List<PathElement> parseList(List<String> keys, String refDotNotation)
refDotNotation - the original dotNotation string used for error messagesCopyright © 2023. All rights reserved.