-Lots of XML code comments

-Added type name handling to serializer
-Fixed various compilation warnings
This commit is contained in:
JamesNK
2009-05-30 06:13:51 +00:00
parent f0c5be266b
commit fec0ec5a1d
56 changed files with 1367 additions and 205 deletions
@@ -29,12 +29,27 @@ using System.Text;
namespace Newtonsoft.Json
{
/// <summary>
/// Specifies reference handling options for the <see cref="JsonSerializer"/>.
/// </summary>
[Flags]
public enum PreserveReferencesHandling
{
/// <summary>
/// Do not preserve references when serializing types.
/// </summary>
None = 0,
/// <summary>
/// Preserve references when serializing into a JSON object structure.
/// </summary>
Objects = 1,
/// <summary>
/// Preserve references when serializing into a JSON array structure.
/// </summary>
Arrays = 2,
/// <summary>
/// Preserve references when serializing.
/// </summary>
All = Objects | Arrays
}
}