Show / Hide Table of Contents

Struct JsonValue

Represents a primitive JSON value, which can be a JSON number, a string, or one of the literals true, false, and null.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public struct JsonValue

Fields

Name Description
False

Gets the JSON literal false.

Null

Gets the JSON literal null.

Text

Gets the text of this value.

True

Gets the JSON literal true.

Type

Gets the type of this value.

Properties

Name Description
IsDefault

Gets a value indicates whether this JSON value is default.

Methods

Name Description
Char(Nullable<Char>)

Converts a char value into JSON value.

DateTime(Nullable<DateTime>)

Converts a DateTime value into JSON value.

DateTime(Nullable<DateTime>, String)

Converts a char value into JSON value, with specified format.

Guid(Nullable<Guid>)

Converts a Guid value into JSON value.

Number(Byte)

Converts a byte value into number JSON value.

Number(Decimal)

Converts a Decimal value into number JSON value.

Number(Double)

Converts a Double value into number JSON value.

Number(Int16)

Converts a Int16 value into number JSON value.

Number(Int32)

Converts a Int32 value into number JSON value.

Number(Int64)

Converts a Int64 value into number JSON value.

Number(Nullable<Byte>)

Converts a byte value into number JSON value.

Number(Nullable<Decimal>)

Converts a Decimal value into number JSON value.

Number(Nullable<Double>)

Converts a Double value into number JSON value.

Number(Nullable<Int16>)

Converts a Int16 value into number JSON value.

Number(Nullable<Int32>)

Converts a Int32 value into number JSON value.

Number(Nullable<Int64>)

Converts a Int64 value into number JSON value.

Number(Nullable<Single>)

Converts a Single value into number JSON value.

Number(Single)

Converts a Single value into number JSON value.

Number(String)

Converts a String value into number JSON value.

String(String)

Converts a value into string JSON value.

ToString()

Extension Methods

ColumnExtensions.WithDefaultValue<TColumn, TValue>(TColumn, TValue, String, String)
ColumnExtensions.WithValueComparer<TColumn, TValue>(TColumn, IComparer<TValue>)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest