Below is the output stored in str variable, I want to extract the cardinality value of whatever it is, I have extracted it using simple way print str[15:18]
but every time I have to change the string value if cardinality value going to increase or decrease.
Output:
{"cardinality":483,"timestamp":15369087280,"deltas":{"week_over_week":{"delta_fraction":0.047722318876,"last_week_value":146}}}
Stored in str:
str = response.text
Expected Output:
Active: 483