serialize_with_codec


Description:

public static string serialize_with_codec<T> (T value, Codec<T> codec, Settings? settings = null) throws Error

Encode with the shared mapper; JSON flow form is valid YAML.