mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
fix key
This commit is contained in:
@@ -49,10 +49,10 @@ int main(void) {
|
||||
// auto result = parsed_json.at_path_new("$.address.*");
|
||||
|
||||
// selects all address properties - $["address"].*
|
||||
// auto result = parsed_json.at_path_new("$["address"].*");
|
||||
auto result = parsed_json.at_path_new("$['address'].*");
|
||||
|
||||
// selects nested properties - $.*.streetAddress
|
||||
auto result = parsed_json.at_path_new("$.*.streetAddress");
|
||||
// auto result = parsed_json.at_path_new("$.*.streetAddress");
|
||||
|
||||
std::vector<simdjson::dom::element> values = result.value();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user