Open
Description
json := `{
"arr": [
{
"name": "jack",
"create_time": "2020-01-01",
"age": 10
},
{
"name": "wow",
"create_time": "2020-02-01",
"age": 11
}
]
}`
jsonslice.Get([]byte(json), "$.arr[?(@.create_time > format("yyyy-mm-dd", 2019-12-30))].name")
I want to extend the conditional filter date type as shown in the above example. What interface or method do I need to implement?
Metadata
Metadata
Assignees
Labels
No labels