Table of Contents

Class JsonWorkerExtensions

Namespace
Virtufin.Worker.DevKit
Assembly
Virtufin.Worker.DevKit.dll

Convenience extension on the JSON specialization of WorkerBase<TInput, TOutput>. Extracts a string value from a JsonNode by key.

public static class JsonWorkerExtensions
Inheritance
JsonWorkerExtensions
Inherited Members

Methods

GetString(JsonNode, string)

Get a string field from a JSON node, or null if missing/not a string.

public static string? GetString(this JsonNode node, string key)

Parameters

node JsonNode
key string

Returns

string