This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:JSONValue [2019/06/24 08:04] peternlewis |
token:JSONValue [2024/04/21 22:23] (current) peternlewis |
||
---|---|---|---|
Line 22: | Line 22: | ||
^ Token ^ Result ^ Comment ^ | ^ Token ^ Result ^ Comment ^ | ||
- | | `%JSONValue%J.a%` | `9` | (Variants have no affect) | | + | | `%JSONValue%J.a%` | `9` | (Variants have no effect) | |
- | | `%JSONValue%J.b%` | `bravo` | (Compact/Pretty variant has no affect) | | + | | `%JSONValue%J.b%` | `bravo` | (Compact/Pretty variant has no effect) | |
- | | `%JSONValueStrict%J.b%` | `"bravo"` | (Compact/Pretty variant has no affect) | | + | | `%JSONValueStrict%J.b%` | `"bravo"` | (Compact/Pretty variant has no effect) | |
- | | `%JSONValue%J.c%` | `null` | (Variants have no affect) | | + | | `%JSONValue%J.c%` | `null` | (Variants have no effect) | |
- | | `%JSONValue%J.d%` | `[11,"two",33]` | (Same as JSONValueCompact, Strict variant has no affect) | | + | | `%JSONValue%J.d%` | `[11,"two",33]` | (Same as JSONValueCompact, Strict variant has no effect) | |
| `%JSONValuePretty%J.d%` | `[\n\t11,\n\t"two",\n\t33\n]` | (\t is some form of indenting) | | | `%JSONValuePretty%J.d%` | `[\n\t11,\n\t"two",\n\t33\n]` | (\t is some form of indenting) | | ||
- | | `%JSONValue%J.d[2]%` | `two` | (Compact/Pretty variant has no affect) | | + | | `%JSONValue%J.d[2]%` | `two` | (Compact/Pretty variant has no effect) | |
- | | `%JSONValueStrict%J.d[2]%` | `"two"` | (Compact/Pretty variant has no affect) | | + | | `%JSONValueStrict%J.d[2]%` | `"two"` | (Compact/Pretty variant has no effect) | |
- | | `%JSONValueStrict%J.d[0]%` | `3` | (Variants have no affect) | | + | | `%JSONValue%J.d[0]%` | `3` | (Variants have no effect) | |
+ | | `%JSONValue%J.d[-2]%` | `two` | (the second last entry) | | ||
+ | | `%JSONValue%J.d[COUNT()]%` | `3` | (the last entry) | | ||
The exact format of the white space in the Pretty format should not be assumed, it might be any number of spaces or tabs. | The exact format of the white space in the Pretty format should not be assumed, it might be any number of spaces or tabs. | ||
Line 48: | Line 50: | ||
* [[function:JSONVALUE | JSONVALUE(jsonpath)]] | * [[function:JSONVALUE | JSONVALUE(jsonpath)]] | ||
+ | * [[function:COUNT | COUNT()]] | ||
* [[:Functions|See all Functions]] | * [[:Functions|See all Functions]] | ||
Line 54: | Line 57: | ||
* [[token:JSONFromDictionary | JSONFromDictionary]] | * [[token:JSONFromDictionary | JSONFromDictionary]] | ||
* [[token:JSONFromVariables | JSONFromVariables]] | * [[token:JSONFromVariables | JSONFromVariables]] | ||
- | * [[token:JSONValue | JSONValue]] | ||
* [[:Tokens|See all Tokens]] | * [[:Tokens|See all Tokens]] | ||
+ | |||
+ | === Collections === | ||
+ | |||
+ | * [[collection:JSON_Keys | JSON Keys]] | ||
+ | * [[:Collections |See all Tokens]] | ||