Module Values.ReadOptionsSource

Read options for an annotation import job.

Sourcetype nonrec t = {
  1. sep : Separator.t option;
    (*

    The file's field separator.

    *)
  2. encoding : Encoding.t option;
    (*

    The file's encoding.

    *)
  3. quote : Quote.t option;
    (*

    The file's quote character.

    *)
  4. quoteAll : QuoteAll.t option;
    (*

    Whether all values need to be quoted, or just those that contain quotes.

    *)
  5. escape : EscapeChar.t option;
    (*

    A character for escaping quotes in the file.

    *)
  6. escapeQuotes : EscapeQuotes.t option;
    (*

    Whether quotes need to be escaped in the file.

    *)
  7. comment : CommentChar.t option;
    (*

    The file's comment character.

    *)
  8. header : Header.t option;
    (*

    Whether the file has a header row.

    *)
  9. lineSep : LineSep.t option;
    (*

    A line separator for the file.

    *)
}
Sourceval make : ?sep:??? -> ?encoding:??? -> ?quote:??? -> ?quoteAll:??? -> ?escape:??? -> ?escapeQuotes:??? -> ?comment:??? -> ?header:??? -> ?lineSep:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of QuoteAll.t | `String of Separator.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t