Details
-
Feature
-
Must have
-
Obs Mgt & Controls
-
-
-
1
-
0
-
-
-
19.5
-
-
PerentieWishList Taranta Team_CREAM
Description
this comes from a request made by Perentie "Slicing of JSON data" in https://docs.google.com/document/d/18fgB3CU0OwqcyW9M6PETQT9MR6pTUwA52BQ_pbmV3q8/edit
At the moment we can display a json string but only in its entirety, we should be able to display only a subset of those.
What we need is the ability for the dashboard designer to specify for relevant widgets that a particular JSON filter should be used when displaying the data. A JSON filter is a text that specifies a particular query on the JSON structure.
A trivial kind of filter is a just a path-like expression, like "book/author/email" that would extract the email value from an object "items" that has this structure
{book: {author: {name:
{first: "john", last: "doe"}, email: "so-and-so@somewhere.com"}, title: ...}.
A more powerful solution is to use already-known path expressions like JMESPath (https://github.com/jmespath/jmespath.js) that greatly expands the expressiveness.
Scope is to apply filters only on the Attribute Display widget.
Attachments
Issue Links
- relates to
-
SP-3739 Taranta feature upgrades
- Done