Skip to content

ServiceNow.Core

SNow.Core.Utils.JsonConverterOptions

JsonConverterOptions.NullableGuidOption Class

csharp
public class JsonConverterOptions.NullableGuidOption : System.Text.Json.Serialization.JsonConverter<System.Nullable<System.Guid>>

Inheritance System.Object 🡒 System.Text.Json.Serialization.JsonConverter 🡒 System.Text.Json.Serialization.JsonConverter<System.Nullable<System.Guid>> 🡒 NullableGuidOption

Constructors
NullableGuidOption()Handle ServiceNow Guid serialization, if it is an object like it will read until it reaches "ce02b8461b88f01030cb635bbc4bcb6d" if it is an string it will read the value
Methods
Read(Utf8JsonReader, Type, JsonSerializerOptions)
Write(Utf8JsonWriter, Nullable<Guid>, JsonSerializerOptions)

Released under the MIT License.