@prismshadow/penguin-core/kernel · Low-level Kernel & Upgrade

Json

type-alias type-only low-level
Source ↗
IMPORT import type { Json } from "@prismshadow/penguin-core/kernel";

Kernel currency: everything that crosses a park/boot boundary is plain JSON.

Context typing rides on arktype (see ./schema.ts): contexts are defined as arktype types and wrapped with schema(); Json stays the wire-level currency every parked document is made of.

Declaration

export type Json = null | boolean | number | string | Json[] | { [key: string]: Json };

Union Variants (6)

Variant 1

null

Variant 2

boolean

Variant 3

number

Variant 4

string

Variant 5

Json[]

Variant 6

{ [key: string]: Json }

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel