Show / Hide Table of Contents

Class StringJsonExtensions

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

Methods

IsJson(string)

Declaration
public static bool IsJson(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

IsJsonArray(string)

Declaration
public static bool IsJsonArray(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

IsJsonObject(string)

Declaration
public static bool IsJsonObject(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

JsonPrettify(string)

Declaration
public static string JsonPrettify(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

JsonToBoolean(string)

Declaration
public static bool JsonToBoolean(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

JsonToDateTime(string, CultureInfo)

Declaration
public static DateTime JsonToDateTime(this string value, CultureInfo culture)
Parameters
Type Name Description
string value
CultureInfo culture
Returns
Type Description
DateTime

JsonToDecimal(string)

Declaration
public static decimal JsonToDecimal(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
decimal

JsonToInteger(string)

Declaration
public static int JsonToInteger(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
int

JsonToString(string)

Declaration
public static string JsonToString(this string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

JsonToValue(string, ValueType, CultureInfo)

Declaration
public static object JsonToValue(this string value, ValueType valueType, CultureInfo culture)
Parameters
Type Name Description
string value
ValueType valueType
CultureInfo culture
Returns
Type Description
object
☀
☾
Back to top Generated by DocFX