nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi] MikeThomsen commented on a change in pull request #3953: NIFI-5901 Added JSON/JSONB support to PutDatabaseRecord
Date Thu, 09 Jan 2020 13:53:07 GMT
MikeThomsen commented on a change in pull request #3953: NIFI-5901 Added JSON/JSONB support
to PutDatabaseRecord
URL: https://github.com/apache/nifi/pull/3953#discussion_r364748950
 
 

 ##########
 File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java
 ##########
 @@ -252,6 +258,16 @@
             .defaultValue("false")
             .build();
 
+    static final PropertyDescriptor MAP_RECORD_TO_JSON = new PropertyDescriptor.Builder()
+            .name("put-db-record-map-record-to-json")
+            .displayName("Map \"record\" types to JSON")
 
 Review comment:
   Going to dig into this and see if there's a way to detect what the real type of the field
is and apply this automagically (json vs xml as appropriate):
   
   https://github.com/FasterXML/jackson-dataformat-xml

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message