scjson

scjson logo

scjson Go Package

This directory contains the Go implementation of scjson, a format for representing SCXML state machines in JSON. The command line tool can convert between .scxml and .scjson files and validate documents using the shared schema.

Installation

go install github.com/softoboros/scjson/go@latest

You can also build from this repository:

cd go && go build

Command Line Usage

scjson json path/to/machine.scxml
scjson xml path/to/machine.scjson
scjson validate path/to/dir -r

All source code in this directory is released under the BSD 1-Clause license. See LICENSE and LEGAL.md for details.