Logo Orsak

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

Array WireValue list

Full Usage: Array WireValue list

Parameters:
Item : WireValue list

Bool bool

Full Usage: Bool bool

Parameters:
    Item : bool

Item : bool

Bytes byte array

Full Usage: Bytes byte array

Parameters:
    Item : byte array

Item : byte array

Float float

Full Usage: Float float

Parameters:
    Item : float

Item : float

Int int

Full Usage: Int int

Parameters:
    Item : int

Item : int

Map (string * WireValue) list

Full Usage: Map (string * WireValue) list

Parameters:

Named values, in order: a record's fields, or a union case's name and fields.

Item : (string * WireValue) list

Nil

Full Usage: Nil

String string

Full Usage: String string

Parameters:
    Item : string

Item : string

Instance members

Instance member Description

this.IsArray

Full Usage: this.IsArray

Returns: bool
Returns: bool

this.IsBool

Full Usage: this.IsBool

Returns: bool
Returns: bool

this.IsBytes

Full Usage: this.IsBytes

Returns: bool
Returns: bool

this.IsFloat

Full Usage: this.IsFloat

Returns: bool
Returns: bool

this.IsInt

Full Usage: this.IsInt

Returns: bool
Returns: bool

this.IsMap

Full Usage: this.IsMap

Returns: bool
Returns: bool

this.IsNil

Full Usage: this.IsNil

Returns: bool
Returns: bool

this.IsString

Full Usage: this.IsString

Returns: bool
Returns: bool

Type something to start searching.