Optional Module
Contains a set of decoders that are not required to decode to the particular type and will not fail. These decoders will return an option type. even if the value is null or is absent from the JSON element.
Types
| Type | Description |
|
This type containes methods that are particularly useful to decode properties from JSON elements. They can be primitive properties, objects, arrays, etc. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
|
Full Usage:
dateTimeExactWith format provider style
Parameters:
string
provider : IFormatProvider
style : DateTimeStyles
Returns: Decoder<DateTime option>
|
|
|
|
Full Usage:
dateTimeOffsetExact format
Parameters:
string
Returns: Decoder<DateTimeOffset option>
|
|
Full Usage:
dateTimeOffsetExactWith format provider style
Parameters:
string
provider : IFormatProvider
style : DateTimeStyles
Returns: Decoder<DateTimeOffset option>
|
|
|
|
Full Usage:
dict arg1
Parameters:
Decoder<'TValue>
Returns: Decoder<Dictionary<string, 'TValue> option>
Type parameters: 'TValue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
timeSpanExactWith format provider style
Parameters:
string
provider : IFormatProvider
style : TimeSpanStyles
Returns: Decoder<TimeSpan option>
|
|
|
|
|
|
|
|
|
JDeck