WireValue Type
A value as the self-describing formats have it, such as JSON, MessagePack and CBOR: what Orsak.Remoting turns the values of F# types into, with WireMapping, and an IWireEncoding turns into bytes.
Int is 32-bit, which JavaScript's numbers hold exactly: an int64, a decimal or a Guid is a String. A
format that can't tell some of these apart, as JSON reads Bytes back as a base64 String, and a
Float without a fraction as an Int, is still read right, as the mapping accepts either.
Union cases
| Union case |
Description
|
|
|
Full Usage:
Bool bool
Parameters:
bool
|
|
Full Usage:
Bytes byte array
Parameters:
byte array
|
|
Full Usage:
Float float
Parameters:
float
|
|
Full Usage:
Int int
Parameters:
int
|
|
|
Named values, in order: a record's fields, or a union case's name and fields.
|
Full Usage:
Nil
|
|
Full Usage:
String string
Parameters:
string
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsArray
Returns: bool
|
|
Full Usage:
this.IsBool
Returns: bool
|
|
Full Usage:
this.IsBytes
Returns: bool
|
|
Full Usage:
this.IsFloat
Returns: bool
|
|
Full Usage:
this.IsInt
Returns: bool
|
|
Full Usage:
this.IsMap
Returns: bool
|
|
Full Usage:
this.IsNil
Returns: bool
|
|
Full Usage:
this.IsString
Returns: bool
|
|
Orsak