Awesome
JsonResume Validator
Java library to validate JSON resumes to ensure that they are according to the defined schema
For more information on JSON resumes, please see the official JSON Resume initiative
Using
For Maven-based projects, add the following to your POM file (the dependency are available at Maven Central):
<dependency>
<groupId>io.github.eaxdev</groupId>
<artifactId>jsonresume-validator</artifactId>
<version>0.0.2</version>
</dependency>
If you using Gradle, add this in your build.gradle
:
implementation: 'io.github.eaxdev:jsonresume-validator:0.0.2'
And then use it in your code:
public class JsonResumeValidatorExample {
public static void main(String[] args) throws JsonResumeParseException {
//Create JsonResume object and initialize it with JSON string
final String json = "{}";
final JsonResume jsonResume = new JsonResume(json);
//validate it
final boolean isValid = jsonResume.isValid();
// if you want to get deserialized object, you can just call
final Resume deserializedResume = jsonResume.deserialize();
}
}