Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Difficulties applying the "Flatten" directive with Wrangler in a complex nested Json

Maurilio Cardoso Gonçalves - Eng_ Dados
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2023

I have the json structure:


{ products :
       [ { ...

            variants : [ { ...

                                  presentment_prices: [ { ...

                                                                            price: { amount : "xxx",
                                                                                          currency_code : "USD"

                                                                            }
                                  ] }

            ] }

] }


Context:
I'm using the "HTTP" plugin to call an API and retrive the json object.

- How to extract only the fields from record "price"?

- How to separate the fields of the "variants" record using directives?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2023

Welcome to the Atlassian Community!

Could you explain what this has to do with Atlassian stuff?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events