Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
If there is an attribute which has embedded JSON but it has leading and and trailing spaces e.g.
"\n{\"name\":\"John\", \"age\":30, \"car\":null}\n"
the NIFI Expression Language isJson method does not consider it JSON and the AttributesToJSON processor when the JsonHandlingStrategy is NESTED does not consider it JSON. This is contrary to Jackson's ObjectMapper behavior which will parse the above example as a map.
Attachments
Issue Links
- Discovered while testing
-
NIFI-12408 Add pretty print property to AtttributesToJson processor
- Resolved
- links to