I'm trying to use the Splitter app to split a JSON array e.g. [{...},{...}] into multiple messages {...} {...}. With input contentType=application/json (per the docs) Spring Cloud is surfacing an exception from Jackson:
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY token at [Source: [B@163b1945; line: 1, column: 1]
Unit tests showed I have the correct pattern for the split to work:
splitter.expression=#jsonPath(payload,'$.[*]')
This worked for me in Spring XD 1.3. How should Spring Cloud (or Splitter) be configured to handle this case? Input and output are both Kafka strings (no headers).