{"id":25621837,"url":"https://github.com/grovertb/json-recursive","last_synced_at":"2026-05-05T02:36:41.273Z","repository":{"id":57285140,"uuid":"89030103","full_name":"grovertb/json-recursive","owner":"grovertb","description":" Recursive library for json maintenance","archived":false,"fork":false,"pushed_at":"2017-04-26T15:38:16.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T05:58:04.098Z","etag":null,"topics":["crud","json","object","recursive"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grovertb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-21T23:03:34.000Z","updated_at":"2017-10-27T01:35:53.000Z","dependencies_parsed_at":"2022-08-31T00:00:19.549Z","dependency_job_id":null,"html_url":"https://github.com/grovertb/json-recursive","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovertb%2Fjson-recursive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovertb%2Fjson-recursive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovertb%2Fjson-recursive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovertb%2Fjson-recursive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grovertb","download_url":"https://codeload.github.com/grovertb/json-recursive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240156670,"owners_count":19756815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","json","object","recursive"],"created_at":"2025-02-22T09:49:40.240Z","updated_at":"2026-05-05T02:36:41.235Z","avatar_url":"https://github.com/grovertb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"json-recursive\n============\n[![GitHub Stars](https://img.shields.io/github/stars/grovertb/json-recursive.svg)](https://github.com/grovertb/json-recursive/stargazers) \n[![GitHub Issues](https://img.shields.io/github/issues/grovertb/json-recursive.svg)](https://github.com/grovertb/json-recursive/issues) \n[![Current Version](https://img.shields.io/github/release/grovertb/json-recursive.svg)](https://github.com/grovertb/json-recursive) \n\n```javascript\nvar collection = [\n    {\n      \"nombre\": \"Villareal\",\n      \"numero\": 1,\n      \"carreras\": [\n        {\n          \"nombre\": \"Fisico\",\n          \"rating\": 4.3,\n          \"cursos\": [\n            {\n              \"nombre\": \"cuantica\",\n              \"id\": 1\n            },\n            {\n              \"nombre\": \"algebra\",\n              \"id\": 2\n            }\n          ]\n        },\n        {\n          \"nombre\": \"Matematica\",\n          \"rating\": 4,\n          \"cursos\": [\n            {\n              \"nombre\": \"algebra\",\n              \"id\": 2\n            },\n            {\n              \"nombre\": \"Aritmetica\",\n              \"id\": 3\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"nombre\": \"San Marcos\",\n      \"numero\": 2,\n      \"carreras\": [\n        {\n          \"nombre\": \"Medicina\",\n          \"rating\": 9.6,\n          \"cursos\": [\n            {\n              \"nombre\": \"Quimica\",\n              \"id\": 4\n            },\n            {\n              \"nombre\": \"Biologia\",\n              \"id\": 5\n            }\n          ]\n        },\n        {\n          \"nombre\": \"Metalurgia\",\n          \"rating\": 5,\n          \"cursos\": [\n            {\n              \"nombre\": \"quimica\",\n              \"id\": 4\n            },\n            {\n              \"nombre\": \"Fisica\",\n              \"id\": 5\n            }\n          ]\n        }\n      ]\n    }\n  ]\n```\n\n## Functions\n\n```javascript\nvar jr = require('json-recursive');\n```\n\n## findAll\n```javascript\njr.findAll(collection, { 'carreras.cursos.nombre': 'cuantica'})\n```\n## updateAll\n```javascript\njr.updateAll(collection, {'carreras.cursos.nombre': 'cuantica'}, {'nombre': 'mecanica'})\n```\n## pushAll\n```javascript\njr.pushAll(collection,{'carreras.cursos.nombre': 'quimica'}, {'nombre': 'javascript', 'id': 6})\n```\n## removeAll\n```javascript\njr.removeAll(collection, {'carreras.cursos.nombre': 'algebra'})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrovertb%2Fjson-recursive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrovertb%2Fjson-recursive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrovertb%2Fjson-recursive/lists"}