Get any element from json in stimulsoft designer
Posted: Wed Feb 05, 2020 10:52 pm
Hello everydbody!
I need to use a json data dictionary in stimulsoft designer, I got it in my data source, my doubt is, how can I use only one json object in stimulsoft designer? Can I get all objects with the same country name? I'm trying to do with the next json
[
{
"country": "Albania",
"beer_servings": 0,
"spirit_servings": 0,
"wine_servings": 0,
"total_litres_of_pure_alcohol": 0
},
{
"country": "Albania",
"beer_servings": 89,
"spirit_servings": 132,
"wine_servings": 54,
"total_litres_of_pure_alcohol": 4.9
},
{
"country": "Algeria",
"beer_servings": 25,
"spirit_servings": 0,
"wine_servings": 14,
"total_litres_of_pure_alcohol": 0.7
}
]
Thx for your help
I need to use a json data dictionary in stimulsoft designer, I got it in my data source, my doubt is, how can I use only one json object in stimulsoft designer? Can I get all objects with the same country name? I'm trying to do with the next json
[
{
"country": "Albania",
"beer_servings": 0,
"spirit_servings": 0,
"wine_servings": 0,
"total_litres_of_pure_alcohol": 0
},
{
"country": "Albania",
"beer_servings": 89,
"spirit_servings": 132,
"wine_servings": 54,
"total_litres_of_pure_alcohol": 4.9
},
{
"country": "Algeria",
"beer_servings": 25,
"spirit_servings": 0,
"wine_servings": 14,
"total_litres_of_pure_alcohol": 0.7
}
]
Thx for your help