Share via


BaseJsonMediaTypeFormatter.CreateJsonReader Method (Type, Stream, Encoding)

 

Called during deserialization to get the JsonReader.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public abstract JsonReader CreateJsonReader(
    Type type,
    Stream readStream,
    Encoding effectiveEncoding
)
public:
virtual JsonReader^ CreateJsonReader(
    Type^ type,
    Stream^ readStream,
    Encoding^ effectiveEncoding
) abstract
abstract CreateJsonReader : 
        type:Type *
        readStream:Stream *
        effectiveEncoding:Encoding -> JsonReader
Public MustOverride Function CreateJsonReader (
    type As Type,
    readStream As Stream,
    effectiveEncoding As Encoding
) As JsonReader

Parameters

  • type
    Type: System.Type

    The type of the object to read.

Return Value

Type: Newtonsoft.Json.JsonReader

The reader to use during deserialization.

See Also

BaseJsonMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top