Skip to main content
  • 10000+ Posts
  • 53,426 Replies
10000+ Posts
How to create key:value pair in JSON from fme_attrib_info{}.field_name and fme_attrib_info{}.field_value?

I have attempted a few different techniques to get my desired output.1.) Reader->AttributeExposer->JSONTemplater2.) Reader->AttributeExposer->ListConcatenator->JSONTemplater3.) Reader->AttributeExposer->JSON Writer4.) Reader->AttributeExposer->ListKeyValuePairExtractor->5.) Reader->AttributeExposer->ListExploder->JSONTemplater6.) OthersI am working with values such as:objid | fme_attrib_info{}.field_name | fme_attrib_info{}.field_value |-------+--------------------------------------+--------------------------------------|1       | SERIAL_NUM                       |          12345                          |2       | TYPE                                     |          SOME_TYPE              |  My desired output would be as follows:{    "SERIAL_NUM": "123456",    "TYPE": "SOMETYPE}I've used the t

Badge Winners

  • FME Flow Certified Professional
    doug.bellhas earned the badge FME Flow Certified Professional
  • FME Certified Professional
    nielsvandepolhas earned the badge FME Certified Professional
  • Welcome Back
    jacquesloembehas earned the badge Welcome Back
  • Welcome Back
    tdkhas earned the badge Welcome Back
  • Online Training
    shirleyzhhas earned the badge Online Training
Show all badges

Community Stats

32,503
Posts
123,449
Replies
40,702
Members