I want to validate the JSON file. I checked readValue from fasterXML but I see it return object. Is there any to validate JSON files efficiently without compromising performance?
public <T> T readValue(File src, Class<T> valueType)
Thank you
I want to validate the JSON file. I checked readValue from fasterXML but I see it return object. Is there any to validate JSON files efficiently without compromising performance?
public <T> T readValue(File src, Class<T> valueType)
Thank you
You could look at using a JSON Schema for validating the content of the file. networknt/json-schema is Java based and supports Jackson.