JsonMessageFormatter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.