Class Json
Shared, pre-configured Newtonsoft.Json settings for the generated SDK.
Newtonsoft.Json.NullValueHandling.Ignore drops unset properties on
serialization (matching the Python/TypeScript reference clients, which omit
unset values on the wire). DateParseHandling.None leaves untyped
JSON (JToken fields) exactly as received — typed
DateTimeOffset properties are still parsed from ISO-8601 by their
declared type. Polymorphic (discriminated-union) models resolve through the
per-type PolymorphicConverter attached by the generator, not
through Newtonsoft's $type metadata, which is therefore disabled.
Inherited Members
Namespace: Pulumi.Cloud.Sdk
Assembly: Pulumi.Cloud.Sdk.dll
Syntax
public static class Json
Fields
View SourceSerializer
A serializer built from Settings, for JObject.FromObject calls.
Declaration
public static readonly JsonSerializer Serializer
Field Value
| Type | Description |
|---|---|
| JsonSerializer |
Settings
The one settings instance used for all request/response (de)serialization.
Declaration
public static readonly JsonSerializerSettings Settings
Field Value
| Type | Description |
|---|---|
| JsonSerializerSettings |