public static Schema fromJson(String json) {
        try{
            return JsonMappers.getMapper().readValue(json, Schema.class);
        } catch (Exception e){
            //TODO better exceptions
            throw new RuntimeException(e);
        }
    }
public static Schema fromJson ( String json ) { try { return JsonMappers . getMapper ( ) . readValue ( json , Schema . class ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
Create a schema from a given json string
@param json the json to create the schema from
@return the created schema based on the json