Header menu logo FSharp.Data

JsonConversions Type

Conversions from JsonValue to string/int/int64/decimal/float/boolean/datetime/datetimeoffset/timespan/guid options

Static members

Static member Description

JsonConversions.AsBoolean

Full Usage: JsonConversions.AsBoolean

Returns: JsonValue -> bool option
Returns: JsonValue -> bool option

JsonConversions.AsDateTime(cultureInfo)

Full Usage: JsonConversions.AsDateTime(cultureInfo)

Parameters:
Returns: JsonValue -> DateTime option
cultureInfo : IFormatProvider
Returns: JsonValue -> DateTime option

JsonConversions.AsDateTimeOffset(cultureInfo)

Full Usage: JsonConversions.AsDateTimeOffset(cultureInfo)

Parameters:
Returns: JsonValue -> DateTimeOffset option
cultureInfo : IFormatProvider
Returns: JsonValue -> DateTimeOffset option

JsonConversions.AsDecimal(cultureInfo)

Full Usage: JsonConversions.AsDecimal(cultureInfo)

Parameters:
Returns: JsonValue -> decimal option
cultureInfo : IFormatProvider
Returns: JsonValue -> decimal option

JsonConversions.AsFloat(missingValues) (useNoneForMissingValues) (cultureInfo)

Full Usage: JsonConversions.AsFloat(missingValues) (useNoneForMissingValues) (cultureInfo)

Parameters:
    missingValues : string[]
    useNoneForMissingValues : bool
    cultureInfo : IFormatProvider

Returns: JsonValue -> float option
missingValues : string[]
useNoneForMissingValues : bool
cultureInfo : IFormatProvider
Returns: JsonValue -> float option

JsonConversions.AsGuid

Full Usage: JsonConversions.AsGuid

Returns: JsonValue -> Guid option
Returns: JsonValue -> Guid option

JsonConversions.AsInteger(cultureInfo)

Full Usage: JsonConversions.AsInteger(cultureInfo)

Parameters:
Returns: JsonValue -> int option
cultureInfo : IFormatProvider
Returns: JsonValue -> int option

JsonConversions.AsInteger64(cultureInfo)

Full Usage: JsonConversions.AsInteger64(cultureInfo)

Parameters:
Returns: JsonValue -> int64 option
cultureInfo : IFormatProvider
Returns: JsonValue -> int64 option

JsonConversions.AsString(useNoneForNullOrEmpty) (cultureInfo)

Full Usage: JsonConversions.AsString(useNoneForNullOrEmpty) (cultureInfo)

Parameters:
Returns: JsonValue -> string option
useNoneForNullOrEmpty : bool
cultureInfo : IFormatProvider
Returns: JsonValue -> string option

JsonConversions.AsTimeSpan(cultureInfo)

Full Usage: JsonConversions.AsTimeSpan(cultureInfo)

Parameters:
Returns: JsonValue -> TimeSpan option
cultureInfo : CultureInfo
Returns: JsonValue -> TimeSpan option

Type something to start searching.