Skip to content

AgathaSorceress/json2kdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2kdl

json2kdl is a program that generates KDL files from JSON

json2kdl input.json output.kdl

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 elements of the root JSON array ([])
    • Each node must have the identifier field of type Identifier and can have these optional fields:

    See examples/example.json

  • Comments (As JSON does not support them)

  • Type Annotations

  • Types that KDL has but JSON does not and vice versa

About

A program that converts JSON files to KDL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages