[
https://issues.apache.org/jira/browse/MINIFICPP-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits updated MINIFICPP-2290:
--------------------------------------
Summary: Support the default schema when serializing a JSON config (was:
Handle the default schema correctly when serializing a JSON config)
> Support the default schema when serializing a JSON config
> ---------------------------------------------------------
>
> Key: MINIFICPP-2290
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2290
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Major
>
> The JSON flow configuration comes in two flavors: the default schema and the
> NiFi schema. In the default schema, the root node location is {{"."}}, which
> is a notation borrowed from yaml-cpp to refer to the current node (so
> {{node["."] == node}}).
> This notation is not supported directly by rapidjson; it works when parsing
> the JSON input because it is implemented in {{flow::Node::operator[]}}.
> We need to handle {{node["."]}} when writing the JSON flow configuration, too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)