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.
The text was updated successfully, but these errors were encountered:
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.
The library doesn't claim compatibility with Jackson, so I'd say that what you described is not a bug. On the other hand, I'm aware of the lack of proper documentation describing the API, guarantees, etc. Adding documentation is definitely on the project roadmap. Can you please describe why you would like to have compatibility with Jackson? What is your use case?
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.
The text was updated successfully, but these errors were encountered: