[ https://issues.apache.org/jira/browse/NIFI-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-2359: ------------------------------- Resolution: Won't Fix Status: Resolved (was: Patch Available) Because we won't know the intended data type of the attribute, we should keep them as strings and employ the "workaround" I described to do the conversion. If a suitable new approach is presented (perhaps using a postfix on the attribute name with a datatype, such as "my.attribute.boolean"?) please feel free to reopen this issue. > Improve AttributesToJSON so it can output booleans, numbers and datetimes > ------------------------------------------------------------------------- > > Key: NIFI-2359 > URL: https://issues.apache.org/jira/browse/NIFI-2359 > Project: Apache NiFi > Issue Type: Improvement > Affects Versions: 0.7.0 > Reporter: Tristan Morris > Priority: Minor > Labels: beginner > Attachments: > 0001-NIFI-2359-Added-support-to-AttributesToJSON-to-conve.patch > > > The AttributesToJSON processor only outputs string content > { > "isAwesome": "true" > } > Rather than > { > "isAwesome": true > } > It would be useful for AttributesToJSON to output json native types like > booleans, numbers and datetimes -- This message was sent by Atlassian Jira (v8.20.10#820010)