Imandrakit_ser.Value
Serialization representation.
A Ser_value.t
describes how to serialized some structured data into bytes. It reflects the shape of the structured data but does not commit to a particular serialization format.
type t = private
| Null
| Bool of bool
| Str of string
| Bytes of string
| Int of int64
| Float of float
| List of t list
| Dict of t Imandrakit_common.Str_map.t
| Tag of int * t
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val equal : t -> t -> Ppx_deriving_runtime.bool
val is_null : t -> bool
val hash : t -> int
val null : t
val bool : bool -> t
val int : int -> t
val int64 : int64 -> t
val float : float -> t
val string : string -> t
val bytes : string -> t
val dict : t Imandrakit_common.Str_map.t -> t