You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2025/07/01 16:27:00 UTC

[jira] [Updated] (NIFI-14697) Replace com.fasterxml.jackson.databind.JsonNode deprecated fields() method with API suggested replacement

     [ https://issues.apache.org/jira/browse/NIFI-14697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann updated NIFI-14697:
------------------------------------
    Fix Version/s: 2.5.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Replace com.fasterxml.jackson.databind.JsonNode deprecated fields() method with API suggested replacement
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-14697
>                 URL: https://issues.apache.org/jira/browse/NIFI-14697
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>             Fix For: 2.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Per the JsonNode javadocs [https://javadoc.io/static/com.fasterxml.jackson.core/jackson-databind/2.19.1/com/fasterxml/jackson/databind/JsonNode.html#fields]
> the method fields() has been deprecated and the suggested replacement is to use method properties().
> The following places in the code base are where this is an issue
> {code:java}
> [WARNING] nifi/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-json-record-utils/src/main/java/org
> /apache/nifi/json/AbstractJsonRowRecordReader.java:[306,72] [deprecation] fields() in JsonNode has been deprecated
> [WARNING] nifi/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-json-record-utils/src/main/java/org
> /apache/nifi/json/JsonSchemaInference.java:[106,67] [deprecation] fields() in JsonNode has been deprecated
> [WARNING] nifi/nifi-extension-bundles/nifi-extension-utils/nifi-record-utils/nifi-json-record-utils/src/main/java/org
> /apache/nifi/json/JsonTreeRowRecordReader.java:[142,73] [deprecation] fields() in JsonNode has been deprecated
> [WARNING] nifi/nifi-extension-bundles/nifi-aws-bundle/nifi-aws-parameter-providers/src/main/java/org/apache/nifi/parameter/aws/AwsSecretsManagerParameterProvider.java:[284,78] [deprecation] fields() in ObjectNode has been deprecated
> [WARNING] nifi/nifi-extension-bundles/nifi-redis-bundle/nifi-redis-extensions/src/main/java/org/apache/nifi/redis/sta
> te/RedisStateMapJsonSerDe.java:[85,27] [deprecation] fields() in JsonNode has been deprecated{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)