package awsm-codegen

  1. Overview
  2. Docs
type t =
  1. | Xml
  2. | Json
  3. | Of_header_and_body of string option

How to decode a result body for the rest_json,xml protocol.

val sexp_of_t : t -> Sexplib0.Sexp.t
val of_botodata_xml : Botodata.operation -> shapes:(string, Botodata.shape) Core.List.Assoc.t -> t option

Determine the decoder from a parsed Botodata.operation.

val of_botodata_json : Botodata.operation -> shapes:(string, Botodata.shape) Core.List.Assoc.t -> t option
OCaml

Innovation. Community. Security.