jmespath / jmespath/go-jmespath

Can nested JSON string parsing be supported?

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
621
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Can nested JSON string parsing be supported?
example:
```
var data = `{
"name": "John",
"nested_json": "{\"age\": 25, \"city\": \"New York\"}"
}`

expression = jmespath.compile('nested_json | from_json_string(@).[age,city]')
// from_json_string(nested_json).[age,city]

var result = expression.search(data)
```
output:
["25","New York"]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.