In javascript, test for property deeply nested in object graph?

后端 未结 6 950
余生分开走
余生分开走 2020-12-03 23:39

I\'ve got a collection of disparate, complex JSON objects from a CouchDB database. Each contains many levels of nested properties--for example,

tps_report.p         


        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 00:12

    You can use my ObjectPath to query big nested JSON documents. The cause I'm building it is the lack of good tools in programming languages to work with JSON just as mentioned in the question.

    The project is open sourced and under AGPL license.

    http://adriank.github.io/ObjectPath/

    Javascript implementation is not optimized and lacks half of the Python's functionality but I'm keen to add new things if needed by community - just ping me about what is crucial to you.

提交回复
热议问题