public class JSONHelper extends Object
Constructor and Description |
---|
JSONHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
isJSONValid(InputStream schemaJSON,
InputStream dataJSON)
Validates a json file against a schema to see if the file is valid
|
public boolean isJSONValid(InputStream schemaJSON, InputStream dataJSON)
schemaJSON
- the json file which contains the schemadataJSON
- the json file which you wish to validateCopyright © 2015 SeqWare. All rights reserved.