Skip to content

bmilesp/jsontree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

jsontree

Simple JSON Tree Key Traversing And Searching

If given a simple JSON tree containing nothing but ids as keys and children as arrays of keys like so:

{
 "a": [{
  "b": [{
   "c": []
  }, {
   "d": [{
    "e": [{
     "f": []
    }, {
     "g": []
    }, {
     "h": []
    }, {
     "i": [{
      "j": []
     }, {
      "k": []
     }, {
      "l": []
     }]
    }]
   }]
  }]
 }, {
  "m": []
 }, {
  "n": []
 }]
}

jsontree package gives you tools to traverse and search keys to return dot-notated paths fro use in other packages like gjson.

About

Simple JSON Tree Key Traversing And Searching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages