Skip to content

TinyBlueRobots/jsonforms-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Forms HTML Renderer

A WebAssembly-powered web application that converts JSON Forms schemas into semantic HTML forms. Runs entirely in your browser with no server required.

Usage

Paste your JSON in this format:

{
  "schema": {
    "type": "object",
    "properties": {
      "name": { "type": "string", "title": "Full Name" },
      "email": { "type": "string", "format": "email" }
    },
    "required": ["name"]
  },
  "uischema": {
    "type": "VerticalLayout",
    "elements": [
      { "type": "Control", "scope": "#/properties/name" },
      { "type": "Control", "scope": "#/properties/email" }
    ]
  }
}

Click "Generate HTML" to see the rendered form.

Building

GOOS=js GOARCH=wasm go build -o public/jsonforms.wasm main.go

Dependencies

Related

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published