Skip to main content
Question

Convert Feature to Attribute

  • June 25, 2019
  • 1 reply
  • 62 views

bubblebeb
Contributor
Forum|alt.badge.img+6

I have flattened some JSON and it now shows as a separate feature for each object.

This is the JSON

And this is it flattened from the JSONFlattener

I want to get the json_index to be the attribute header and the _response_body to be the feature attribute.

These are the settings I currently have for the JSONFlattener.

Any assistance on this would be great. I am in unfamiliar territory with JSON.

 

Thanks

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

geosander
Forum|alt.badge.img+7
  • 327 replies
  • June 25, 2019

You need to pivot your "table". An AttributePivoter might work or could try the custom AttributeTransposer on your JSONFlattener output maybe?