Snippets tagged serialization

  • Union-Friendly Generic Binary Serializer

    Implements binary serialization. The encoding supports all records, unions, numeric types, strings, rank-1 arrays, maps, sets, lists and dictionaries. Strings are interned for efficiency. The encoding also uses binary compression (GZIP).

    9 people like this

    Posted: 12 years ago by Anton Tayanovskyy

  • Indexed Monads and Applications in F#

    Continuing from Nick Palladinos' session types, this snippet is an implementation of indexed monads in F#, as well as a collection of examples that demonstrate its utility: session types, type-safe serialization and reversible workflows.

    6 people like this

    Posted: 10 years ago by Eirik Tsarpalis

  • XSD Class Generator

    This can be used to generate F# code from an XSD schema. Similar to xsd.exe, this can be wrapped in a console application and used for generator XML or SOAP service clients to facilitate serialization/deserialization of XML into objects.

    5 people like this

    Posted: 4 years ago by Aaron M Eshbach