Skip to content

json-to-compose

Server-Driven UI & Generative UI Runtime for Compose Multiplatform.

GitHub


Overview

json-to-compose transforms declarative JSON payloads into fully interactive, native Jetpack Compose UI trees at runtime. It eliminates app store release cycles for dynamic screens, promotional flows, remote forms, and AI-generated chat widgets.


Integration with kmp-cli

1. Scaffold a Ready-to-Run SDUI App

kmp create MyDynamicApp --template json-to-compose-sample-app

2. Install the Certified SDUI Skill

kmp skills install kotlin-ui-sdui-compose

3. Automatic Detection in kmp migrate

When running kmp migrate audit on a React Native project, kmp-cli automatically flags dynamic JSON layouts and maps them to json-to-compose runtime parsers.


GitHub Actions & CI/CD Pipelines

json-to-compose employs automated GitHub Actions workflows for multiplatform builds, WebAssembly distribution, and automated Sonatype Maven Central releases:

Workflow Trigger Description & Targets
publish.yml release Automated Maven Central artifact publication across Android, iOS, Desktop JVM, and Wasm.
wasm-publish.yml push on main Compiles WASM JS executable and deploys to Cloudflare Pages (composy-web-app).
desktop-publish.yml Release tag Builds standalone desktop installers using Hydraulic Conveyor and publishes to Netlify.