We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this document, metricValues is a Map<string,double>.
"metricValues": { "metric1": 10.977, "metric2": 0.062111801242236024 }
Variations of this expression:
Collection<Object> metricValues = surfer.collectAll(json, "$.body.metricValues.*");
<Object>
Are pulling up the numbers (10.977) but not the keys ("metric1").
I've tried to cast to maps, classes with name-value, etc.
Suggestions?
The text was updated successfully, but these errors were encountered:
You can use this API to get current field name in JsonPathListener: https://github.com/jsurfer/JsonSurfer/blob/master/jsurfer-core/src/main/java/org/jsfr/json/ParsingContext.java#L65
Sorry, something went wrong.
No branches or pull requests
In this document, metricValues is a Map<string,double>.
"metricValues": {
"metric1": 10.977,
"metric2": 0.062111801242236024
}
Variations of this expression:
Collection
<Object>
metricValues = surfer.collectAll(json, "$.body.metricValues.*");Are pulling up the numbers (10.977) but not the keys ("metric1").
I've tried to cast to maps, classes with name-value, etc.
Suggestions?
The text was updated successfully, but these errors were encountered: