Note: This API documentation is for FAKE version 4. The migration API documentation can be found
here. The API documentation for the new fake 5 modules can be found
here
Json
Contains extensions for Newtonsoft.Json. Don't use it directly. It's likely to be changed in further versions.
Nested types and modules
Type | Description |
ParsingException |
Functions and values
Function or value | Description |
deserialize(text)
Signature: text:string -> 'a
Type parameters: 'a |
Deserializes a text into a object of type 'a |
deserializeFile
Signature: string -> 'a
Type parameters: 'a |
Deserializes a file into a object of type 'a |
serialize(x)
Signature: x:'a -> string
Type parameters: 'a |
Serializes a object to json |
tryDeserialize(s)
Signature: s:string -> Choice<'a,exn>
Type parameters: 'a |
Tryes to deserialize a text into a object of type 'a and returns either instance of 'a or parsing error |