Is there a way to get the value from key "· gc.alloc.rate"? Because the standard reference name after the dot returns an error.
...
"secondaryMetrics": {
"·gc.alloc.rate": {
"score": 502.22945873992126,
"scoreError": "NaN",
"scoreConfidence": [
"NaN",
"NaN"
],
...
You can either escape the attribute name with backticks or forward ticks, or use the bracket notation and a quoted string:
secondaryMetrics.`·gc.alloc.rate`
secondaryMetrics.´·gc.alloc.rate´
secondaryMetrics['·gc.alloc.rate']
secondaryMetrics["·gc.alloc.rate"]
https://www.arangodb.com/docs/stable/aql/fundamentals-syntax.html#names
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.