Stdlib family json

This family page is the encyclopedia entry for one stdlib area. It explains why the family exists, what responsibility belongs here, and which files make up the surface.

Overview

FieldValue
Familyjson
Module count8
PurposeStructured JSON surfaces including parse, parser, types, builder, schema, stringify, and serialize.

Architecture role

Use `json` when data must cross a structured textual boundary. This family owns JSON shape and conversion, not business validation itself.

Main responsibilities

  • Own JSON parsing and rendering concerns.
  • Keep structured exchange separate from file access and domain acceptance.
  • Document the distinction between raw JSON shape and validated program state.

Real usage story

  • 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.

Module inventory