Please check the syntax above. You missed {and }surrounding the object.
Colon is :used in JSON to separate value pairs and the period is .also not allowed for names.
Assuming a JSON object as:
{
"object" : {
"field" : "field"}
}
You can get the value by expression $.object
When using JsonPath you can get the field through JsonPath.read([json_object], [expression])
source
share