I want to include the error associated with the field 'firstname' but I can't figure out how to reference the correct branch of the JSON-encoded object.
{ 
"_original":{ 
"firstname":"1",
"lastname":"1",
"email":"1@1.com",
"password":"1"
},
"details":[ 
  { 
    "message":"\"firstname\" length must be at least 3 characters long",
    "path":[ 
    "firstname"
    ],
    "type":"string.min",
    "context":{ 
      "limit":3,
      "value":"1",
      "label":"firstname",
      "key":"firstname"
    }
},
{ 
"message":"\"lastname\" length must be at least 3 characters long",
"path":[ 
"lastname"
],
"type":"string.min",
"context":{ 
"limit":3,
"value":"1",
"label":"lastname",
"key":"lastname"
}
}
]
}
How do I return the indented object in the details array? I am searching on path:["firstname"]
 
     
     
    