public final class YamlEngine extends Object
public static String marshal(Object value)
value - object to be marshaledpublic static <T> T unmarshal(String yamlContent, Class<T> classType)
T - type of classyamlContent - YAML contentclassType - class typepublic static <T> T unmarshal(String prefix, InputStream configFileInput, Class<T> classType)
T - type of classprefix - config prefix nameconfigFileInput - YAML file input streamclassType - class typeCopyright © 2020 The Apache Software Foundation. All rights reserved.