Logo Orsak

Json Module

Writes and parses JSON text, in plain F#, so .NET and Fable read and write it the same way. Bytes are a base64 string, and numbers are in the invariant culture: a number without a fraction or an exponent that fits an int is read as an Int, any other as a Float.

Functions and values

Function or value Description

parse text

Full Usage: parse text

Parameters:
    text : string

Returns: WireValue

Parses JSON text.

text : string
Returns: WireValue

write json

Full Usage: write json

Parameters:
Returns: string

The text of , without whitespace.

json : WireValue
Returns: string

Type something to start searching.