scjson

scjson logo

Lua SCJSON

This directory provides a Lua-based implementation of the SCXML ↔ scjson utility.

Development Setup

  1. Install Lua and Luarocks using apt:
sudo apt-get update
sudo apt-get install -y lua5.4 luarocks
  1. Install required Lua modules:
luarocks install luaexpat --deps-mode=one
luarocks install dkjson --deps-mode=one
luarocks install busted --deps-mode=one

If you are behind a proxy, configure Luarocks with the appropriate proxy settings.

  1. Run tests:
busted -v tests

The provided scjson.lua module offers minimal conversion utilities. It is intended as a starting point for a complete Lua port of the reference Python implementation.

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