ZypeLang is a OpenSource replacement of JSON based on Python.
<key> "value"
You can use ZypeLang with Zype Python SDK.
pip install ZypeSDK # Replace pip with pip3 and/or add sudo according to your Enviroment.
import ZypeSDK as zype
name = zype.Open("file.zype")['name']
print(name)
And in file.zype
<name> "Zype, Inc.";
ZypeLang is easier & shorter than JSON
{
"name": "Rajdeep Malakar"
}
To,
<name> "Rajdeep Malakar"
Note: Don't add Semicolon on the Last line.
Zyper is the official CLI of ZypeLang. To use it:
zyper <filename>