public static < T > T loadAs ( String content , Class < T > clazz ) { return getSnakeYaml ( ) . loadAs ( new StringReader ( content ) , clazz ) ; }
Load an API object from a YAML string representation . Returns a concrete typed object using the type specified .