Class ArrayElementAttributeProcessor

  • All Implemented Interfaces:
    JsonPathMetadataProcessor

    public class ArrayElementAttributeProcessor
    extends Object
    implements JsonPathMetadataProcessor
    This Processor allows to extract attribute values of an array. For exaple to extract all values of secondAttribute, "array":[ { "firstAttribute":"first value", "secondAttribute":"second value" }, { "firstAttribute":"first value", "secondAttribute":"second value" } ] it's possible configure a bean with pathToArray=/array and elementAttribute=/secondAttribute
    Author:
    Mykhaylo Boychuk (mykhaylo.boychuk@4science.com)
    • Constructor Detail

      • ArrayElementAttributeProcessor

        public ArrayElementAttributeProcessor()