Developer Tools

vserialization-audit

Which of six text data formats are live, from JSON and CSV to property lists.

Released v1.0.0 · 2026-09-28
Import
use "stdlib/serialization_audit.ven"

Checks every serialization builtin the interpreter offers, such as JSON encoding and decoding, with a real round trip call, so a program can see which formats are live on the virtual machine it runs under.

vserialization-audit.ven
print serialization_audit_summary()
Reference (11 functions)

API reference

probe(live, message)

Builds one check result Map, pairing a liveness flag with its message.

probe(yes, "round-tripped a real value on this VM")

owner(name, owner_file, probe_result)

Builds one registry row, pairing a format's name and owning file(s) with its check result.

owner("JSON (json_encode/json_decode)", "builtins", probe(yes, "live: round-tripped"))

json_probe()

Proves JSON is live with a real Map round-trip, not an assertion.

json_probe()

csv_probe()

Proves CSV is live with a real parse/write round-trip.

csv_probe()

ini_probe()

Proves INI is live with a real parse, also confirming its key-lowercasing/section-preservation contract.

ini_probe()

xml_probe()

Proves XML is live with a real parse, and that an entity-expansion bomb never silently expands.

xml_probe()

plist_probe()

Proves Apple property lists are live with a real encode/decode round-trip.

plist_probe()

quopri_probe()

Proves quoted-printable is live on both VMs with a real encode/decode round-trip.

quopri_probe()

serialization_owners()

Builds the full six-format ownership map, each row checked live against this running VM.

serialization_owners()

serialization_audit_summary()

Gives a plain {"total": N, "live": M} tally, for callers that want the count without parsing report text.

serialization_audit_summary()

serialization_audit_report()

Renders the full, human-readable registry report, the body of venutian serialization-audit.

serialization_audit_report()

Get notified when vserialization-audit changes

Get notified about

New versions and security advisories.

New and updated packages, once a day.

News on the math model built in Venutian.