dabalka
3 years agoNew Contributor II
JSON snap not working as expected
JSON splitter last week was working correctly.
Pipeline was not edited, JSON format did not change, and yet Pipeline is crashing indicating error that JSON splitter is expecting list not an object. Before 17th of Feb it was working perfectly fine. was something changed in snap architecture?
“Failure: Json Splitter expects a list, Reason: Found an object of type class java.util.LinkedHashMap, Resolution: The path $.data needs to refer to a list in the incoming document”
The object $data is an instance of Object not an array…
Place a mapper before the JSON splitter then set mapper as pass through enabled