This is an automated email from the ASF dual-hosted git repository.
mthomsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 1705ee3 NIFI-6274 Remove two reference markers from jsonPath docs
1705ee3 is described below
commit 1705ee3b6656a4b347220577d90c2a71b7cbb084
Author: Wil Selwood <[email protected]>
AuthorDate: Wed Jul 18 15:56:21 2018 +0100
NIFI-6274 Remove two reference markers from jsonPath docs
There are two superscript references in the JsonPath documentation that
don't seem to mean any thing. They are not clickable and there are no other
similar reference markers in the document.
This closes #2907
Signed-off-by: Mike Thomsen <[email protected]>
---
nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
index e4cf8ae..9d9751a 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -1525,7 +1525,7 @@ Expressions will provide the following results:
path expression. An empty string is generated if the Subject does not
contain valid JSON, the _jsonPath_ is invalid, or the path
does not exist in the Subject. If the evaluation results in a scalar
value, the string representation of scalar value is
generated. Otherwise a string representation of the JSON result is
generated. A JSON array of length 1 is special cased
- when `[0]` is a scalar, the string representation of `[0]` is
generated.^1^#
+ when `[0]` is a scalar, the string representation of `[0]` is
generated.#
*Subject Type*: [.subject]#String#
@@ -1568,7 +1568,7 @@ Expressions will provide the following results:
| Expression | Value
| `${myJson:jsonPath('$.firstName')}` | `John`
| `${myJson:jsonPath('$.address.postalCode')}` | `10021-3100`
-| `${myJson:jsonPath('$.phoneNumbers[?(@.type=="home")].number')}`^1^ | `212
555-1234`
+| `${myJson:jsonPath('$.phoneNumbers[?(@.type=="home")].number')}` | `212
555-1234`
| `${myJson:jsonPath('$.phoneNumbers')}` | `[{"type":"home","number":"212
555-1234"},{"type":"office","number":"646 555-4567"}]`
| `${myJson:jsonPath('$.missing-path')}` | _empty_
| `${myJson:jsonPath('$.bad-json-path..')}` | _exception bulletin_