Deep.Net


Json

Namespace: Models

JSON serialization.

Functions and values

Function or valueDescription
deserialize str
Signature: str:string -> 'a
Type parameters: 'a

Deserializes an object from a JSON string.

load path
Signature: path:string -> 'a
Type parameters: 'a

Loads JSON data from the specified file.

save path value
Signature: path:string -> value:'a -> unit
Type parameters: 'a

Saves an object as JSON to the specified file.

serialize value
Signature: value:'a -> string
Type parameters: 'a

Serializes an object into a JSON string.

Fork me on GitHub