Canonical Module
Serializes a Dto to canonical JSON for a digest and for the database, without whitespace and with fields in declared order, and reads JSON back. Arrays keep their order, a BigRational is written as numerator/denominator in lowest terms, and an option is written as its value or null.
Types
| Type | Description |
|
|
|
|
An option as its value or null, instead of the union's Case and Fields. |
|
|
Reads a class without a parameterless constructor, such as Order.Dto.Dto, by creating it uninitialized and setting its properties from the JSON. Records and unions use the Newtonsoft construction. |
Functions and values
| Function or value |
Description
|
Full Usage:
deserialize s
Parameters:
string
Returns: 'a
Type parameters: 'a |
|
Full Usage:
serialize x
Parameters:
'a
Returns: string
Type parameters: 'a |
|
|
|
GenPRES