GitHub user delei created a discussion: How to parse json string data?
When using the HTTP protocol, if the sample data returned by an API is as follows. How can it be parsed? ```json { "resInfo": "{\"startupTime\":1753663214197,\"reportTime\":1754448408937,\"cpuUsage\":0.0,\"memoryUsage\":0.31460491608987645,\"availablePhysicalMemorySize\":10.62,\"reservedMemory\":0.1,\"diskAvailable\":340.78,\"processId\":1661,\"serverStatus\":\"NORMAL\",\"host\":\"127.0.0.1\",\"port\":1111}", "createTime": "2025-01-01 08:40:14" } ``` The `resInfo` attribute is a string. I want to parse this data for monitoring purposes.Is there any way to parse this? It would be better if you could provide an example. GitHub link: https://github.com/apache/hertzbeat/discussions/3637 ---- This is an automatically sent email for dev@hertzbeat.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: dev-h...@hertzbeat.apache.org