I want to find the offset position of a json string in python. The string which I’m searching for will have multiple occurance in the string. Using find() function gives position of the first occurrence of the searched string and not the one which I want. How do I proceed with this?
json_string = '{"key1":{"key2":[{"key3":"value3"},{"key4":"value3"}]}}'
If I want position of value3 of key4 using find(), I should get the output as 45 but I will be getting 27 as the output