How to store config Json file data to dictionary?

Hi Experts,

I have json file attached here and i want to put it’s data in dictionary in the same way we do for config excel.

Settings and constants key & value will remain same but Assets value I have to retrieve from Orchestrator and store it in dictionary, similar way we do for config excel.

Input:


json.txt (605 Bytes)

So far i have achieved this:
image

Thanks.

Hi @ermanoj3101,

Below is the workflow to achieve same, should help you :slight_smile:

LoadConfigJSON - Copy.xaml (13.9 KB)

You can add/delete per your requirement.

Regards
Sonali

1 Like

Thanks for sharing this.
can you also please share json file with respect to this code so that i can match my json is correct or not ?

Not required now, i have corrected it.

@ermanoj3101,

Oh Okay, no worries.

Let me know if works for you :slight_smile:

Sample for how it should be is attached
config - Copy.json (2.4 KB)

Regards
Sonali

1 Like

You are awesome, it worked.

Thanks a lot.

@ermanoj3101,

I am glad I could help :slight_smile:

Regards
Sonali

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.