$.data.values.[0], as shown below, and save your changes.
Out property.
For example, this path selects the first item in a values array (1): $.data.values.[0]. This is the schema payload:
{
"messageType" : "line",
"data" : [
{
"labels" : ["Sunday", "Monday"],
"values" : [ 1, 2 ]
}
}This example selects a single numeric value, however, there are other possibilities for selecting a subset of the incoming JSON:
$.data transfers the entire data object to the Out slot.$.data.values selects the entire JSON array.Any expression containing a search with, for example, $..labels returns search results enclosed within an outer array.
These URLs to external web sites explain this powerful tool in detail.