Class JsonSubTypeNameAttribute
The discriminator wire value for a concrete type — the C# analog of Jackson's
@JsonTypeName. Read on deserialization to resolve the type and written
on serialization to emit the discriminator.
Inheritance
JsonSubTypeNameAttribute
Namespace: Pulumi.Cloud.Sdk
Assembly: Pulumi.Cloud.Sdk.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class JsonSubTypeNameAttribute : Attribute
Constructors
View Source
JsonSubTypeNameAttribute(string)
Declaration
public JsonSubTypeNameAttribute(string typeName)
Parameters
| Type |
Name |
Description |
| string |
typeName |
|
Properties
View Source
TypeName
Declaration
public string TypeName { get; }
Property Value