Class ArrayProcessor

    • Constructor Detail

      • ArrayProcessor

        public ArrayProcessor​(Source source,
                              Set<String> keys)
        Parameters:
        source - The JSON stream source to process
        keys - Name of the elements to convert
    • Method Detail

      • isProcessable

        protected boolean isProcessable​(JsonPath path,
                                        JsonElement element)
        Specified by:
        isProcessable in class AbstractPathProcessor
        Parameters:
        path - The current JSON path
        element - The current JSON stream element
        Returns:
        True if process with the given parameter should get called