Closed DenineLu closed 1 month ago
For DOM parser, how to convert JsonValue to byte array or string? For example:
byte[] json = toUtf8("{\"a\": {\"b\": \"c\"}}"); JsonValue jsonValue = parser.parse(json, json.length); JsonValue res = jsonValue.get("a");
I want to get the string {"b": "c"}. Thank you in advance for your help with this question.
{"b": "c"}
This looks like a duplicate of https://github.com/simdjson/simdjson-java/issues/39. Feel free to reopen it if my understanding is incorrect.
For DOM parser, how to convert JsonValue to byte array or string? For example:
I want to get the string
{"b": "c"}
. Thank you in advance for your help with this question.