Question

JSON AttributeExposer get subgroup value

  • 4 May 2018
  • 1 reply
  • 0 views

Badge

Hi all,

I hope an easy one.

Please see attached images;

how should I write to get the values within the measures item in the AttributeExposer tool?

Many thanks


1 reply

Userlevel 3
Badge +17

I think your problem is like:

https://knowledge.safe.com/questions/58375/how-to-change-list-to-attribute-with-listindexer-t.html

You wan't to get the list element with index 0 into a attribute.

If the list is always of length 1 (index 0) you could use a AttributeRenamer to rename meassures{0}.parameter to parameter.

Reply