Show / Hide Table of Contents

Class JsonExtensions

Json extensions

Inheritance
object
JsonExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public static class JsonExtensions

Methods

View Source

GetSystemType(JsonValueKind)

Gets the type of the system

Declaration
public static Type GetSystemType(this JsonValueKind valueKind)
Parameters
Type Name Description
JsonValueKind valueKind
Returns
Type Description
Type

The system type

View Source

GetSystemType(JsonValueKind, object)

Gets the type of the system

Declaration
public static Type GetSystemType(this JsonValueKind valueKind, object value)
Parameters
Type Name Description
JsonValueKind valueKind
object value

The value, used to determine the numeric type

Returns
Type Description
Type

The system type

View Source

GetValue(JsonElement)

Get the json element value

Declaration
public static object GetValue(this JsonElement jsonElement)
Parameters
Type Name Description
JsonElement jsonElement

The json element

Returns
Type Description
object

The json element value

  • View Source
☀
☾
Back to top Generated by DocFX