mirror of https://github.com/apache/nifi.git
Adding addititonal documentation to EvalluateJsonPath per https://issues.apache.org/jira/browse/NIFI-8518
This commit is contained in:
parent
48a9054731
commit
86d5b08d23
|
@ -31,8 +31,10 @@
|
||||||
<h3>Additional Notes</h3>
|
<h3>Additional Notes</h3>
|
||||||
<p>
|
<p>
|
||||||
It's a common pattern to make JSON from attributes in NiFi. Many of these attributes have periods in their names. For example
|
It's a common pattern to make JSON from attributes in NiFi. Many of these attributes have periods in their names. For example
|
||||||
<em>record.count</em>. To reference them safely, you must use this sort of operation which puts the entire key in brackets:
|
<em>record.count</em>. To reference them safely, you must use this sort of operation which puts the entire key in brackets.
|
||||||
|
This also applies to JSON keys that contain whitespace:
|
||||||
</p>
|
</p>
|
||||||
<blockquote>$.["record.count"]</blockquote>
|
<blockquote>$.["record.count"]</blockquote>
|
||||||
|
<blockquote>$.["record count"]</blockquote>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue