Script BASIC on Linux can't be any easier to use. All I did was extract sb from the archive and sudo cp sb /usr/bin.
jrs@jrs-laptop:~/sb/abcc/json$ sb create.bas
jrs@jrs-laptop:~/sb/abcc/json$ cat root.json
{
"client1": {
"name": "Joe Blow",
"age": 56,
"address": {
"city": "Tarrytown",
"state": "NY",
"zip": "10891"
}
},
"client2": {
"name": "John Smith",
"age": 86,
"address": {
"city": "Cupertino",
"state": "CA",
"zip": "N\/A"
}
}
}
jrs@jrs-laptop:~/sb/abcc/json$ sb parse2.bas
----------------------------------------
Joe Blow
56
Tarrytown
NY
10891
----------------------------------------
John Smith
86
Cupertino
CA
N/A
----------------------------------------
jrs@jrs-laptop:~/sb/abcc/json$ sb
Usage: basic [options] program.bas
options: -o file_name
specify output file, save binary format to file but don't execute
-b file_name
load binary format from file and execute
-n
do not use cache (no save, no load)
-e
execute after binary format was saved
-v
print version info and stop
-c
inform scriba that this is a CGI script.
-C
save C program output.
-E
save executable output. (may not work under some OS)
-p preprocessor
specify external preprocessor.
-i preprocessor
specify internal preprocessor.
-f configurationfile
specify configuration file
-d
debug module error (UNIX only)
-k text_config_file
compile the configuration file to binary
-D
dump the configuration file in text format
jrs@jrs-laptop:~/sb/abcc/json$ sb -v
ScriptBasic v2.1
Variation >>STANDARD<< build 1
Magic value 859037497
Node size is 24
Extension interface version is 11
Compilation: Nov 29 2018 00:20:12
jrs@jrs-laptop:~/sb/abcc/json$