How to write a request body test script?

Hi. I am new in the community. I am trying to get a request body assertions or test scripts with the following data:
{
“login”: {
“pUserID”: “123”,
“Ppassword”: “123”
}
}

I want to get the field and the value of the field as assertions.

image