Parse server : How to store / retrieve JSON Object column

I have column named address type object and I want to Retrive using REST API How to retrieve student?where={“address”:“city”: “toronto” }

address:
{
  "street1": "abc",
"street2" : "sadas",
"area" : "Downtown",
"city" : "toronto",
"state" : "ontario",
"country" : "Canada"
}

it throw error :    "code": 107,
    "error": "You cannot use [object Object] as a query parameter."

You can do student?where={“address.city”: “toronto” }

2 Likes