public static Schema fromYaml ( String yaml ) { try { return JsonMappers . getMapperYaml ( ) . readValue ( yaml , Schema . class ) ; } catch ( Exception e ) { //TODO better exceptions throw new RuntimeException ( e ) ; } }
Create a schema from the given yaml string