Module Jsont.Sort

JSON sorts.

type t =
  1. | Null
    (*

    Nulls.

    *)
  2. | Bool
    (*

    Booleans

    *)
  3. | Number
    (*

    Numbers.

    *)
  4. | String
    (*

    Strings.

    *)
  5. | Array
    (*

    Arrays.

    *)
  6. | Obj
    (*

    Objects.

    *)

The type for sorts of JSON values.

val to_string : t -> string

to_string s is a string for sort s.

val pp : Stdlib.Format.formatter -> t -> unit

pp formats sorts.