Skip to main content
Arch's user avatar
Arch's user avatar
Arch's user avatar
Arch
  • Member for 5 years, 8 months
  • Last seen this week
awarded
comment
Look for entries in json file and return values
@SiHa i have troubles understanding how to traverse a file with just dictionaries, when its a json with list, i am able to get my data. I do not have control over the contents of the file, this is pulled from grafana api(in this case i am getting all outstanding alerts, and shared a snippet of it
comment
Look for entries in json file and return values
@CtrlZ Yes you are correct, altho i know this site is filled with great minds, which do not need my code to help me, but i ll add my code, which has seen alot of edits
comment
Look for entries in json file and return values
@Federicofkt You are right, my appologies
Loading…
awarded
awarded
Loading…
comment
search json file in python on combination of values
in your solution the last if will fail if one of the selectors is not there. It will not show the list. If i indent the last if it works correct. Thank you
comment
search json file in python on combination of values
Thank you! I will try this, this looks good, and i think it is what i am looking for. I ll supply an update shortly
Loading…
comment
Loading…
awarded
awarded
Loading…