Skip to content

xlvdk/tree2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

tree2json

Converts out put from tree into a Json object

Usage

tree -S -n --charset ascii | python tree2json.py

Example

{
  "data": ".",
  "children": [
    {
      "data": "LICENSE",
      "children": []
    },
    {
      "data": "README.md",
      "children": []
    },
    {
      "data": "tree2json.py",
      "children": []
    }
  ]
}

About

Converts out put from tree into a Json object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages