convert method

  1. @override
Object convert(
  1. String input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
Object convert(String input) {
  final dynamic doc = loadYaml(input);
  final text = json.encode(doc);
  return json.decode(text);
}