package msgpack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

MessagePack Serializer

type t = [
  1. | `Bool of bool
  2. | `Nil
  3. | `PFixnum of int
  4. | `NFixnum of int
  5. | `Uint8 of int
  6. | `Uint16 of int
  7. | `Uint32 of int64
  8. | `Uint64 of Big_int.big_int
  9. | `Int8 of int
  10. | `Int16 of int
  11. | `Int32 of int32
  12. | `Int64 of int64
  13. | `Float of float
  14. | `Double of float
  15. | `FixRaw of char list
  16. | `Raw16 of char list
  17. | `Raw32 of char list
  18. | `FixArray of t list
  19. | `Array16 of t list
  20. | `Array32 of t list
  21. | `FixMap of (t * t) list
  22. | `Map16 of (t * t) list
  23. | `Map32 of (t * t) list
]
val deserialize_string : string -> t

MessagePack.Serialize.deserialize_string str deserialize MessagePack string str to MessagePack object.

val serialize_string : t -> string

MessagePack.Serialize.serialize_string obj serialize MessagePack object obj to MessagePack string.

OCaml

Innovation. Community. Security.