-
-
Notifications
You must be signed in to change notification settings - Fork 0
Feature: VCL
Аниса edited this page Sep 12, 2022
·
17 revisions
Vital's kit's custom lightweight confign language focussing to enhance productivity and ease of maintenance. VCL is more straightforward and feature complete unlike JSON; Supports comments, nested objects (numeric & non-numeric indexes, integrated w/ vKit.Object
) out of the box.
# TODO:
test:
test2:
-: 1
const string: result = vKit.vcl.encode(
object: buffer
)
const array: result = vKit.vcl.decode(
string: buffer
)
// Result:
result: [
~: value, // Parsed value
int: ref, // Reference index
bool: isErrored // Boolean indicating whether vcl was successfully decoded
]