src/SyncTool.FileSystem/main/SerializationExtensions.cs
/// <summary>
/// Reads a object of type <typeparamref name="T"/> serialized to JSON from the stream 
/// </summary>
Reads a object of type  serialized to JSON from the stream
Reads a object of type serialized to JSON from the stream
public static T Deserialize<T>(this Stream stream)
        {
            var streamReader = new StreamReader(stream);
            var jsonReader = new JsonTextReader(streamReader);
            var serializer = new JsonSerializer();
            return serializer.Deserialize<T>(jsonReader);
        }
public static T Deserialize < T > ( this Stream stream ) { var streamReader = new StreamReader ( stream ) ; var jsonReader = new JsonTextReader ( streamReader ) ; var serializer = new JsonSerializer ( ) ; return serializer . Deserialize < T > ( jsonReader ) ; }
Reads a object of type  serialized to JSON from the stream
Reads a object of type serialized to JSON from the stream
Stream
this