@Override
public YAMLParser createParser(String content)
throws IOException, JsonParseException
{
Reader r = new StringReader(content);
IOContext ctxt = _createContext(r, true); // true->own, can close
// [JACKSON-512]: allow wrapping with InputDecorator
if (_inputDecorator != null) {
r = _inputDecorator.decorate(ctxt, r);
}
return _createParser(r, ctxt);