[ 
https://issues.apache.org/jira/browse/NIFI-15826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072935#comment-18072935
 ] 

ASF subversion and git services commented on NIFI-15826:
--------------------------------------------------------

Commit 8d262039bce6c125c37b1e5ac8d967f4b4a193e4 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8d262039bce ]

NIFI-15826 Optimized JSON Property Validator Input Reading (#11125)

- Renamed nifi-json-utils to nifi-json-validator
- Replaced Jackson ObjectMapper with JsonParser
- Removed jackson-databind dependency

> Optimize JSON Property Validator Input Reading
> ----------------------------------------------
>
>                 Key: NIFI-15826
>                 URL: https://issues.apache.org/jira/browse/NIFI-15826
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{JsonValidator}} class in {{nifi-json-utils}} creates a new instance of 
> the Jackson {{ObjectMapper}} on every invocation, which is very inefficient. 
> For JSON validation, the implementation should be simplified to use the 
> {{JsonParser}} from {{jackson-core}} instead of {{{}ObjectMapper{}}}. The 
> module should also be renamed to {{nifi-json-validator}} clarity.



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

Reply via email to