Share via


JsonMessageFormatter Constructors

Definition

Overloads

JsonMessageFormatter()

Initializes a new instance of the JsonMessageFormatter class that uses JsonProgress (without the preamble) for its text encoding.

JsonMessageFormatter(Encoding)

Initializes a new instance of the JsonMessageFormatter class.

JsonMessageFormatter()

Initializes a new instance of the JsonMessageFormatter class that uses JsonProgress (without the preamble) for its text encoding.

public JsonMessageFormatter ();
Public Sub New ()

Applies to

JsonMessageFormatter(Encoding)

Initializes a new instance of the JsonMessageFormatter class.

public JsonMessageFormatter (System.Text.Encoding encoding);
new StreamJsonRpc.JsonMessageFormatter : System.Text.Encoding -> StreamJsonRpc.JsonMessageFormatter
Public Sub New (encoding As Encoding)

Parameters

encoding
Encoding

The encoding to use for the JSON text.

Applies to