Stdlib module json.vitl
This page is a wiki-style reference for one concrete stdlib file. It explains what the file owns, where it fits in the family, and how to decide whether this is the right surface to depend on.
json.vitl.Family: json
Kind: public stdlib surface
Page style: this reference follows the same “encyclopedic card + portrait + usage contract” logic as the keyword pages, but for stdlib modules.
Summary
Overview
| Field | Value |
|---|---|
| Path | json.vitl |
| Family | json |
| Kind | public stdlib surface |
| Line count | 305 |
| Declared procedures | 41 |
| Declared forms/picks | 11 |
`json.vitl` is a public stdlib surface inside the `json` family. It should be read as one focused slice of the broader family responsibility: Structured JSON surfaces including parse, parser, types, builder, schema, stringify, and serialize.
Purpose
This file should be chosen because of responsibility, not because its name “sounds close enough”. Inside the json family, it carries one focused part of the contract and keeps that responsibility separate from neighboring concerns.
- Use this module when structured exchange format is part of the feature, not just an incidental output.
- A build plan can be validated as domain data first and then exported to JSON in a separate step.
- A parser page should say how syntax becomes JSON values before serialization details appear.
Top-level API inventory
| Surface | Items |
|---|---|
| Procedures | json_version, json_name, json_module_count, json_modules, json_manifest, json_ready, json_health, json_summary, json_selftest, json_report, json_parse, json_stringify |
| Forms | JSONParser, JSONBuilder, JsonLibraryManifest, JsonLibraryHealth, JsonLibrarySummary, JsonLibraryReport, JsonParseReport, JsonStringifyReport, JsonBuilderReport, JsonSchemaReport |
| Picks | JSONValue |
| Constants | none declared at top level |
Imported surfaces
This file does not advertise a top-level `use` surface in its opening declarations. That often means it is either self-contained or an aggregation layer.
How to use this module
Start by reading the file as an ownership boundary. Ask three questions: what enters this module, what stable types or procedures it exports, and what adjacent module should stay outside of it.
- Open the family page first to understand why this area of the stdlib exists.
- Read the source excerpt below to see the namespace, imports, and first declared surfaces.
- Check the neighbor list to avoid coupling this module with an adjacent responsibility by habit.
Source shape
space vitte/json
JSON Library — JSON parsing and serialization
========================================================= >>>
pick JSONValue {
JsonNull,
JsonBool(value: int),
JsonNumber(value: f64),
JsonString(value: string),
JsonArray(items: [JSONValue]),
JsonObject(keys: [string])
The excerpt is not meant to replace the file. It exists to make the module recognizable at first glance, the same way a Wikipedia infobox helps the reader orient before reading the whole article.
Integration boundaries
Within json, this file should remain focused. If a future helper changes the host boundary, scheduling boundary, or data-shape boundary, it probably belongs in a neighbor module instead of being added here by convenience.
- Family responsibility: Structured JSON surfaces including parse, parser, types, builder, schema, stringify, and serialize.
- Family architecture role: Use `json` when data must cross a structured textual boundary. This family owns JSON shape and conversion, not business validation itself.