-Code reformat
This commit is contained in:
@@ -29,22 +29,24 @@ using System.Text;
|
||||
|
||||
namespace Newtonsoft.Json
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies reference loop handling options for the <see cref="JsonSerializer"/>.
|
||||
/// </summary>
|
||||
public enum ReferenceLoopHandling
|
||||
{
|
||||
/// <summary>
|
||||
/// Throw a <see cref="JsonSerializationException"/> when a loop is encountered.
|
||||
/// Specifies reference loop handling options for the <see cref="JsonSerializer"/>.
|
||||
/// </summary>
|
||||
Error = 0,
|
||||
/// <summary>
|
||||
/// Ignore loop references and do not serialize.
|
||||
/// </summary>
|
||||
Ignore = 1,
|
||||
/// <summary>
|
||||
/// Serialize loop references.
|
||||
/// </summary>
|
||||
Serialize = 2
|
||||
}
|
||||
}
|
||||
public enum ReferenceLoopHandling
|
||||
{
|
||||
/// <summary>
|
||||
/// Throw a <see cref="JsonSerializationException"/> when a loop is encountered.
|
||||
/// </summary>
|
||||
Error = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Ignore loop references and do not serialize.
|
||||
/// </summary>
|
||||
Ignore = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Serialize loop references.
|
||||
/// </summary>
|
||||
Serialize = 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user