RhoeJSON

Swift-native JSON engine, CLI, preview daemon, jq-inspired filters, binary codecs, and WASM facade.

Apple Foundation Models Integration

RhoeJSON includes one optional Apple system integration: JSONSchemaAIGenerator, a macOS-only wrapper around Apple's FoundationModels framework for generating schema-conforming local JSON examples.

This API is intentionally narrow:

Public Boundary

The API belongs in the public package only as an Apple system API convenience for macOS developers. It does not change the first-wave public scope: RhoeJSON is still an engine-first JSON package with CLI, preview, WASM, and format tooling.

Linux CI must verify that the file remains platform gated and that the primary CLI product builds without compiling or exposing FoundationModels symbols.

Maintainer Rules


#if os(macOS) && canImport(FoundationModels)