I'm working with quite a bit of data in Python. I'm currently using a lot of different arrays but I would like to use something similar to JSON format to make it easier.
something like:
metrics {
.metric_name {
.period {
A: 10
B: 20
}
}
}
so that I could call metrics.metric_name.A or whatever instead of using a lot of different multi-dim arrays.
Does anything like this exist in Python? Can I use dictionaries inside of dictionaries?