/// <summary> /// Serializing of a primitive type /// </summary> /// <param name="value">The value.</param> /// <param name="callBack">The call back.</param> public void Serialize(bool?value, IValueSerializationTarget callBack) { callBack.Set(value); }
/// <summary> /// Serializing of a primitive type /// </summary> /// <param name="value">The value.</param> /// <param name="callBack">The call back.</param> public void Serialize(DateTime?value, IValueSerializationTarget callBack) { callBack.Set(value); }
/// <summary> /// Serializing of a primitive type /// </summary> /// <param name="value">The value.</param> /// <param name="callBack">The call back.</param> public void Serialize(object value, IValueSerializationTarget callBack) { callBack.Set(ToJson(value), value.GetType()); }