Show / Hide Table of Contents

Class FhirExpandoJsonConverter

A FHIR expando JSON converter.

Inheritance
System.Object
FhirExpandoJsonConverter
Namespace: Microsoft.Health.Fhir.SpecManager.Models
Assembly: Microsoft.Health.Fhir.SpecManager.dll
Syntax
public class FhirExpandoJsonConverter : JsonConverter<FhirExpando>

Methods

| Improve this Doc View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type T.

Declaration
public override FhirExpando Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader

[in,out] The reader.

Type typeToConvert

The type to convert.

JsonSerializerOptions options

An object that specifies serialization options to use.

Returns
Type Description
FhirExpando

The converted value.

| Improve this Doc View Source

Write(Utf8JsonWriter, FhirExpando, JsonSerializerOptions)

Writes a specified value as JSON.

Declaration
public override void Write(Utf8JsonWriter writer, FhirExpando value, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer

The writer to write to.

FhirExpando value

The value to convert to JSON.

JsonSerializerOptions options

An object that specifies serialization options to use.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX