public abstract class AbstractJsonPathProcessor extends AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
AbstractJsonPathProcessor.JsonPathValidator |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
EMPTY_STRING_OPTION |
private static com.jayway.jsonpath.spi.json.JsonProvider |
JSON_PROVIDER |
(package private) static Map<String,String> |
NULL_REPRESENTATION_MAP |
(package private) static String |
NULL_STRING_OPTION |
static PropertyDescriptor |
NULL_VALUE_DEFAULT_REPRESENTATION |
private static com.jayway.jsonpath.Configuration |
STRICT_PROVIDER_CONFIGURATION |
| Constructor and Description |
|---|
AbstractJsonPathProcessor() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static String |
getResultRepresentation(Object jsonPathResult,
String defaultValue) |
(package private) static boolean |
isJsonScalar(Object obj)
Determines the context by which JsonSmartJsonProvider would treat the value.
|
(package private) static com.jayway.jsonpath.DocumentContext |
validateAndEstablishJsonContext(ProcessSession processSession,
FlowFile flowFile) |
onTrigger, onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getRelationships, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprivate static final com.jayway.jsonpath.Configuration STRICT_PROVIDER_CONFIGURATION
private static final com.jayway.jsonpath.spi.json.JsonProvider JSON_PROVIDER
static final String EMPTY_STRING_OPTION
static final String NULL_STRING_OPTION
public static final PropertyDescriptor NULL_VALUE_DEFAULT_REPRESENTATION
static com.jayway.jsonpath.DocumentContext validateAndEstablishJsonContext(ProcessSession processSession, FlowFile flowFile)
static boolean isJsonScalar(Object obj)
Map and List objects can be rendered as JSON elements, everything else is
treated as a scalar.obj - item to be inspected if it is a scalar or a JSON elementCopyright © 2023 Apache NiFi Project. All rights reserved.