Github user MikeThomsen commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2969#discussion_r212992888
--- Diff:
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
---
@@ -173,6 +175,29 @@
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
.build();
--- End diff --
Because extended is the raw output from Mongo's driver and doesn't return a
Data object or a String. It looks like this:
```
{
"date_field": {
"$date": 1234567890L
}
```
We don't mess with extended JSON because it's a safe assumption that if the
user wants that version they want the raw output for its Mongisms.
---