You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 weeks ago | |
---|---|---|
examples | 3 weeks ago | |
src | 3 weeks ago | |
.gitignore | 3 weeks ago | |
Cargo.lock | 3 weeks ago | |
Cargo.toml | 3 weeks ago | |
LICENSE.md | 3 weeks ago | |
README.md | 3 weeks ago |
README.md
json2kdl
json2kdl is a program that generates KDL files from JSON
Intended Use
json2kdl was made specifically for Nixpkgs Issue #198655, which means, these features are currently out of scope:
-
Parsing arbitrary JSON
Currently, the input file structure must follow a specific schema:- Nodes can be defined as fields of the root JSON object (
{}
) - Each node can have these optional fields:
arguments
(Array of Values)properties
(Object with Identifier:Value pairs)children
(Object with fields representing Nodes)
See
examples/example.json
- Nodes can be defined as fields of the root JSON object (
-
Comments (As JSON does not support them)
-
Type Annotations
-
Types that KDL has but JSON does not and vice versa