You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for example json: { "field1": { "field2": "xx" } }
SimdJsonParser parser = new SimdJsonParser();\n JsonValue value = parser.parse(json.getBytes(), json.length()); value.get("field1").get("field3").toString();
The above program will throw a null pointer exception during runtime.
but jackson is compatible with this situation.
for example json:
{ "field1": { "field2": "xx" } }SimdJsonParser parser = new SimdJsonParser();\n JsonValue value = parser.parse(json.getBytes(), json.length()); value.get("field1").get("field3").toString();The above program will throw a null pointer exception during runtime.
but jackson is compatible with this situation.