From c10722a6664199eef2a098f7ba113bef235b5cdf Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 10 May 2018 23:03:05 -0700 Subject: [PATCH] -Docs --- Doc/SerializationGuide.aml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/SerializationGuide.aml b/Doc/SerializationGuide.aml index 87d3a029..ebe6c64d 100644 --- a/Doc/SerializationGuide.aml +++ b/Doc/SerializationGuide.aml @@ -240,7 +240,8 @@ - Types that implement ISerializable are serialized as JSON objects. When serializing, only the values returned from + Types that implement T:System.Runtime.Serialization.ISerializable and + are marked with T:System.SerializableAttribute are serialized as JSON objects. When serializing, only the values returned from ISerializable.GetObjectData are used; members on the type are ignored. When deserializing, the constructor with a SerializationInfo and StreamingContext is called, passing the JSON object's values. In situations where this behavior is not wanted, the JsonObjectAttribute can be placed on a .NET type that