public static Properties unmarshalProperties ( final String yamlContent ) { return Strings . isNullOrEmpty ( yamlContent ) ? new Properties ( ) : new Yaml ( ) . loadAs ( yamlContent , Properties . class ) ; }
Unmarshal properties YAML .