コード例 #1
0
        private static void DeserializeValue(this CodeWriter writer, JsonValueSerialization serialization, CodeWriterDelegate element)
        {
            writer.UseNamespace(typeof(JsonElementExtensions).Namespace !);

            if (serialization.Type.IsFrameworkType)
            {
                DeserializeFrameworkTypeValue(writer, element, serialization.Type.FrameworkType, serialization.Format);
            }
            else
            {
                writer.DeserializeImplementation(serialization.Type.Implementation, element);
            }
        }