API reference / @evolu/common / Type / JsonArray

Variable: JsonArray

JsonArray: ArrayType<
  RecursiveType<
    UnionType<
      [
        Type<"String", string, string, StringError, string, StringError>,
        BrandType<
          Type<"Number", number, number, NumberError, number, NumberError>,
          "Finite",
          FiniteError,
          NumberError
        >,
        Type<"Boolean", boolean, boolean, BooleanError, boolean, BooleanError>,
        Type<"Null", null, null, NullError, null, NullError>,
        ArrayType<
          Type<
            "Recursive",
            JsonValue,
            JsonValueInput,
            JsonValueError,
            JsonValueInput,
            JsonValueError
          >
        >,
        RecordType<
          "String",
          string,
          string,
          StringError,
          string,
          StringError,
          Type<
            "Recursive",
            JsonValue,
            JsonValueInput,
            JsonValueError,
            JsonValueInput,
            JsonValueError
          >
        >,
      ]
    >
  >
>;

Defined in: packages/common/src/Type.ts:3452

JSON-compatible array of JsonValue elements.

Was this page helpful?