org.semispace.comet.jsonschema
Class JsonSchema
java.lang.Object
org.semispace.comet.jsonschema.JsonSchema
public class JsonSchema
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSchemaRoot
public SchemaRoot getSchemaRoot()
createJsonSchema
public static JsonSchema createJsonSchema(Reader jsonSchemaSource)
readContents
public static String readContents(Reader source)
- Return read as string. Will throw exception if source cannot be read.
TODO: May consider to move this method to a more clean cut utility method.
createJsonSchemaFromJsonString
public static JsonSchema createJsonSchemaFromJsonString(String json)
Copyright © 2008-2012. All Rights Reserved.