Table of Contents

Class JsonElementUtility

Namespace
Songhay
Assembly
SonghayCore.dll

Shared methods for JsonElement

public static class JsonElementUtility
Inheritance
JsonElementUtility
Inherited Members

Methods

GetNullJsonElement()

Gets a JsonElement where JsonValueKind is Null.

public static JsonElement GetNullJsonElement()

Returns

JsonElement

ParseJson(string?, ILogger)

Parses the specified JSON or returns a JsonElement where JsonValueKind is Null.

public static JsonElement ParseJson(string? json, ILogger logger)

Parameters

json string

the JSON

logger ILogger

the ILogger

Returns

JsonElement