/// <summary> /// Format variant as string /// </summary> /// <param name="encoder"></param> /// <param name="value"></param> /// <returns></returns> public static VariantValue Encode(this IVariantEncoder encoder, Variant value) { return(encoder.Encode(value, out var tmp)); }
/// <summary> /// Format variant as string /// </summary> /// <param name="encoder"></param> /// <param name="value"></param> /// <returns></returns> public static JToken Encode(this IVariantEncoder encoder, Variant value) => encoder.Encode(value, out var tmp);