Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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