[
https://issues.apache.org/jira/browse/NIFI-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086696#comment-16086696
]
ASF GitHub Bot commented on NIFI-1623:
--------------------------------------
Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/2005
While I appreciate the effort that went into developing this processor, I
think the ticket may be outdated, similar to [PR 1964 - NIFI-4141 (JSON to
Orc)](https://github.com/apache/nifi/pull/1964).
As I commented there,
> Hi,
>
> With the release of Apache NiFi 1.2.0 and 1.3.0, the record paradigm has
been introduced to better support protocol/format/schema conversion. This moves
away from the ConvertXToY type processors in favor of providing custom record
reader and recordset writer controller service implementations which can be
leveraged and re-used by LookupRecord, ConvertRecord, PartitionRecord,
QueryRecord, MergeRecord, UpdateRecord, etc. There is already a JsonTreeReader,
JsonPathReader, and JsonRecordSetWriter available, so if you were to provide an
OrcReader and OrcRecordSetWriter, you would be able to perform bidirectional
conversion of JSON to/from Orc, along with Grok, CSV, Avro, freeform text, and
scripted implementations.
Similarly, I believe the community would be better served by creating a
`XmlRecordReader` and `XmlRecordSetWriter` controller services which can be
leveraged by the entire "record" ecosystem of processors.
> ConvertXMLToJSON addition
> -------------------------
>
> Key: NIFI-1623
> URL: https://issues.apache.org/jira/browse/NIFI-1623
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.5.1
> Reporter: Einsteins Do
> Priority: Minor
> Labels: patch
> Attachments:
> 0001-nifi-1623-Adding-a-processor-to-convert-XML-to-JSON.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Add a new processor for XML to JSON conversion:
> * Takes an XML Flow File
> * Performs conversion from XML to JSON
> * Outputs the JSON Flow File as well as the Original XML Flow File
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)