CPF/CPF.Windows/Json/Formatter/Serializer/Option/JsonRefernceHandlingEnum.cs
2023-11-21 23:05:03 +08:00

32 lines
747 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace CPF.Windows.Json
{
/// <summary>
/// 发生循环引用时的处理方式枚举
/// Enumeration of processing methods when circular references occur
/// </summary>
public enum JsonReferenceHandlingEnum
{
/// <summary>
/// 默认,不处理
/// Default
/// </summary>
None,
/// <summary>
/// 将值处理为null
/// Processing the value to null
/// </summary>
Null,
/// <summary>
/// 删除该值
/// Delete this value
/// </summary>
Remove,
/// <summary>
/// 返回空(Keyvalue =>{}Array=>[])
/// Return empty
/// </summary>
Empty
}
}