Skip to main content

CkOperationResultJson

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.Tenants.Methods

The JSON options the result of an operation is read with. The result arrives in the JSON form of the method result (runtime.operations, field result): camelCase members, enums as names.

public static class CkOperationResultJson

Inheritance Object → CkOperationResultJson

Properties​

DefaultOptions​

Web defaults (case-insensitive camelCase members) and enums as strings.

public static JsonSerializerOptions DefaultOptions { get; }

Property Value​

JsonSerializerOptions

Methods​

WithConverter(JsonConverter)​

The default options plus converter (e.g. CkMethodTimeSpanSecondsConverter for a TimeSpan result).

public static JsonSerializerOptions WithConverter(JsonConverter converter)

Parameters​

converter JsonConverter
The additional converter

Returns​

JsonSerializerOptions