Need to get value from string that contains in array + set it to variable

Hello everyone!
So I have an array in response, for example:
“data”: [
“field1” : “2”,
“field2” : “5.12312”

variable - test

And Im trying to get 5.12312 into my variable, and than I want to use this variable for next test with another end point (but this is already another story) main problem that this value could be dynamic and will change from time to time.

I’m sorry for question like this, just new to all this things with API and Postman) But i’m already in fire :smiley: