NIFI-2580 Added a little explanation note about a common issue new users face with jsonpath.

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4561.
This commit is contained in:
Mike Thomsen 2020-09-30 07:43:34 -04:00 committed by Pierre Villard
parent f9ae3bb9c9
commit a66c3d8168
No known key found for this signature in database
GPG Key ID: F92A93B30C07C6D5
1 changed files with 7 additions and 0 deletions

View File

@ -27,5 +27,12 @@
result evaluations in memory. Accordingly, it is important to consider the anticipated profile of content being
evaluated by this processor and the hardware supporting it especially when working against large JSON documents.
</p>
<h3>Additional Notes</h3>
<p>
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:
</p>
<blockquote>$.["record.count"]</blockquote>
</body>
</html>