public static class JsonFunctions.JsonPathContext extends Object
| Modifier and Type | Field and Description |
|---|---|
@Nullable Exception |
exc |
JsonFunctions.PathMode |
mode |
@Nullable Object |
obj |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasException() |
String |
toString() |
static JsonFunctions.JsonPathContext |
withJavaObj(JsonFunctions.PathMode mode,
@Nullable Object obj) |
static JsonFunctions.JsonPathContext |
withStrictException(Exception exc) |
static JsonFunctions.JsonPathContext |
withStrictException(String pathSpec,
Exception exc) |
static JsonFunctions.JsonPathContext |
withUnknownException(Exception exc) |
public final JsonFunctions.PathMode mode
public final @Nullable Object obj
public final @Nullable Exception exc
@EnsuresNonNullIf(expression="exc",
result=true)
public boolean hasException()
public static JsonFunctions.JsonPathContext withUnknownException(Exception exc)
public static JsonFunctions.JsonPathContext withStrictException(Exception exc)
public static JsonFunctions.JsonPathContext withStrictException(String pathSpec, Exception exc)
public static JsonFunctions.JsonPathContext withJavaObj(JsonFunctions.PathMode mode, @Nullable Object obj)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.