Using this library I am trying to create a JSON Object by jsonpath expression. How can I do it?
Sample problem.
JsonPath expression: $.data[*].firstname, value = "John doe"
The JsonObject should be
{
"data": [
{
"firstname": "John Doe"
}
]
}