{"_id":"jsonpath-object-transform","_rev":"41-811cb97f7d901cea2ea2942af1cb6e4c","name":"jsonpath-object-transform","description":"Transform an object literal using JSONPath.","dist-tags":{"latest":"1.0.4"},"versions":{"0.1.0":{"name":"jsonpath-object-transform","version":"0.1.0","description":"Transform an object literal using JSON Path.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["json","object","translate","format","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"lodash":"^2.4.1","JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.1.0","dist":{"shasum":"79a4dabcd523a832784006b84970c1bd5de8de01","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.1.0.tgz","integrity":"sha512-mlKb+xKFcySNVb0LBEgYs9n1h1Us22SN5isQuB09/N9ublJ5qNXZSGgTDc1XY2hlJHoXN/HWzpreYptiDSpkrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKI9e/10Xpid4bXZ6T89fR1rZLadZ3W9d12O5A7DkPeQIgUDEbBGHS3Nc4ca2KxMrn8I1YxpIf95xe/yjszrI8o8U="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.1.1":{"name":"jsonpath-object-transform","version":"0.1.1","description":"Transform an object literal using JSON Path.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["json","object","translate","format","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.1.1","dist":{"shasum":"d39a78b1f30898df1d7207ccb105ec4eed4e1e96","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.1.1.tgz","integrity":"sha512-JGwy0yjYmxQfhb4gemSfXDsHQAZxdmIlGjgS39s8J3SxoNfw5BH1aJfRQI0Slwi0Epgn/OUfMMHSqNyYaW87WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBlJiJ9RDvRLC+xuL572YgmX3jSA6ux5UaKXyfMharBgIhANTV0B7/mH9tJT22SD2U+3iM7Q7X7BwieNCj4sCKgR15"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.1.2":{"name":"jsonpath-object-transform","version":"0.1.2","description":"Transform an object literal using JSON Path.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["json","object","translate","format","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.1.2","dist":{"shasum":"cb4ac6edc43c615f413cf9157e29dd53bae26ee8","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.1.2.tgz","integrity":"sha512-g8f7YU4oh2pktC01nrXZzpRv6Aw3UHdTmdUWcBcowZBDeFht3jrPYWb7lXYl4mX938TNfss+c7hkVJVTjOszEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJW6YsAi9QrYH1uBx0UUyOdjCbZD+QIGA0kRwfUE+efwIgLlIloDVLoTCj0HEEmFU66x4rOVkkm7nf8S3tkFT1V1c="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.0":{"name":"jsonpath-object-transform","version":"0.2.0","description":"Transform an object literal using JSON Path.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["json","object","translate","format","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.0","dist":{"shasum":"19ebd54345f3cebf9a2eb797120f0ea37b161d7a","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.0.tgz","integrity":"sha512-YbB9jmvyQMH/U5mGPUxn/nVo7AbaRwIBEKe5gQejFHqmIVvLPaCYAXwxxtl4b06xrCphMZx0MefmPegfQ+Nfrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBd1SvqMYEMabxTaF2pOhAm5oi2DxkMdyk0MECWDka2jAiEA3sBwN+PQM7xYPSlLZXTCrkjkEx84GWRi1InjNt1UG/U="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.1":{"name":"jsonpath-object-transform","version":"0.2.1","description":"Transform an object literal using JSON Path.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["json","object","translate","format","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.1","dist":{"shasum":"43c6f15ecfc098039b957659ac114985d508965d","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.1.tgz","integrity":"sha512-KQhkDn5Nw1+TOMQry5siTYjpC7I16tNvFejeVRte1rtathXGaLlTK42imz2ThMQiwevDzhDFowtouP1OQPHxAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8oHiqctZEfqzasNcu07gBlwR09vVINwZZ8XwjnQQMDgIhAMDdrO9j9maUFf/LOAxxkkMvWM9z0XA3kXApsUbve1b4"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.2":{"name":"jsonpath-object-transform","version":"0.2.2","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.2","dist":{"shasum":"e0fc19bfe3b15fe52cb2f73458d80a9760fefca4","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.2.tgz","integrity":"sha512-89zSI6zjyIxgpMHgzNHFnyHM99WyskWjUoIlvJM4TEKZKFxxNEBXMaOwhDwrNDghUBvx0WmNc5VMZqJdXaO+ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMRHoBipDpVP/hujfKTTtv0KbyrANW2P+oTKlU9QG2IAiA6RZWYC4mQuPbIwa0L2T1CXXtZ3f4ESK8b82CX21oIeg=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.3":{"name":"jsonpath-object-transform","version":"0.2.3","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.3","dist":{"shasum":"83e8b43024d0844c0ef1e36e32ebab29684a0f53","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.3.tgz","integrity":"sha512-gbf1XBdXzm/ypO8ZwXubpHI3hAEeyIMVoM5zxX1x3yh99wF1XcTzacTI2WijwalNJ5um3VOIwDz4Zwy8tY+t/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEqqJDwarsVtQP7lzHIfTrMkpiAeiAN9NwP1D/TzvmcAiASQho1a5J/2E3azVcdyb2CFr31YprUhC+b2vY0KVvn8w=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.4":{"name":"jsonpath-object-transform","version":"0.2.4","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.4","dist":{"shasum":"33474183bce725d765dd19f3ae8ed49714c3ded9","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.4.tgz","integrity":"sha512-vQzu4PwX1XTbOLBvTkHtXX5/w58l/QA9BzSnACSqnGoMJRmU6+fFC8cA1pmeCGCVWnv4DD6TFnyfHIsC1kXJYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEVbn0fuHHvmHH14DaOsp4hZ3aNjqzLnYxT1z+xnnsIRAiB/g7cVAab2Y3+gd/WICzaqFpdOSWS9GadJg5Z7emNcrw=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.5":{"name":"jsonpath-object-transform","version":"0.2.5","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.5","dist":{"shasum":"f65f148dd32f1a6578c99fd24086a8179b8b537b","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.5.tgz","integrity":"sha512-Uuw+HUrJuGbf0ny9XrxQVshqd6YjzJ3SCXIGUwXElwOM88K7/4sDK7qtzhk+J0fFayY9Iaj08F6PGCxdbRDD7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPhfgqEHdDog5QcUfU8cquOTgsEb6j5opiRMnaVJYvzgIhAOboyugwqAdGuatVrekFreKmdzmAHFHsreK+5/nxUA8M"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.6":{"name":"jsonpath-object-transform","version":"0.2.6","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.6","dist":{"shasum":"e32e03539f3e27b0219fed61f1c0dd579eb872a0","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.6.tgz","integrity":"sha512-8WTpSLP3WO3HXblRtNj6r5gfO/Q1+9L+CSDyOXf0r6Wbjtj+ltqyN9upZaozRJGm6aWSctOAM8ru29woJUvKlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEuFan3Mlf7PP2f7tMWhF2NpuroYhBZCbtvg0t3i6zHwIgUbljDkWL93VivmSDmugh1RiLxRdWK0fhv9snAtf+vSE="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"0.2.7":{"name":"jsonpath-object-transform","version":"0.2.7","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@0.2.7","dist":{"shasum":"63bcc47f2657e5d0c66855a4e21b6e04b4eb44a0","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-0.2.7.tgz","integrity":"sha512-Sucpm0/QnheiiwmYuQj7iMmMFZ4H9Q3PCGQBqIagyAinRha1dt6f4EUy8B2BP7t/K69Aq//YtJ1THQhfPdhgFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIvv8FCob3UkCs4JPUUJmw0w7riEWc5Eeor8CcPD9tDAIhAKUqO0gfB4LkIoKkCi/+2sii2L4Z10rZjNgIeR4wd7Sv"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"1.0.0":{"name":"jsonpath-object-transform","version":"1.0.0","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"devDependencies":{"bower":"^1.3.1"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@1.0.0","dist":{"shasum":"30ba612d87f5346836eefd8bfab8af5db1ac47b4","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-1.0.0.tgz","integrity":"sha512-PDuo4ZrvWuJH1im/+tqbpnioElACWcEfmjL3XWNYQXJjCuFMGguKnpBDQHnaP+5/xpqQrUgc0pVlUpuW3TWQ9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEe7sQz/ASmPHdkMHtXwYKq+X5ab7wrN2YkDt50RaHawIhAJ1hYhragnrmoXpXf1HaeCiOznLr4Y9Wn/mmjdX+Cq7Z"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"1.0.1":{"name":"jsonpath-object-transform","version":"1.0.1","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"devDependencies":{"bower":"^1.3.1"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@1.0.1","dist":{"shasum":"47339547743281d8e3cecb91e8b2131d19369317","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-1.0.1.tgz","integrity":"sha512-fC9HyFcOOBJigI6BrBpE9VJLoV4p5Utd6HRw0uLyDna5+9sItPyiwydD8ZgaCEeQb2xh37qymrDBIKZILLmFKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCafcDFtEr0asU0ZZBlUh/7wIUsiukExyVoOj3cD2UZ4gIhALLbyGSmk/shWbW769cPqAtDZxMfVFSLk0ehxPE9ivoO"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"1.0.2":{"name":"jsonpath-object-transform","version":"1.0.2","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"devDependencies":{"bower":"^1.3.1"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@1.0.2","dist":{"shasum":"02669dda253255790327798e57951977d2ad58c5","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-1.0.2.tgz","integrity":"sha512-XkdwBbMKWXaZejReFs+fahVGlqd73rkr8A0BBXycHtKWAs9BEEe5rWB4HhTJnbEEWfSYh5V8k8LSLzkEcvOOzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL+BbgJuf3WFJutJFhm47q6nl3ljcNEnfxCuFZHKZJrAIgXn5MYZaphCEYEvtLtt3yBrLJ5QAtESh1+ewfNDpeg3E="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"1.0.3":{"name":"jsonpath-object-transform","version":"1.0.3","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"devDependencies":{"bower":"^1.3.1"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform","_id":"jsonpath-object-transform@1.0.3","dist":{"shasum":"196a8c175905d4493fa5b2192bf5a9b0ce0cf648","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-1.0.3.tgz","integrity":"sha512-DmvTnaGp3+HAXZ0dqDPt3NO5EvRdfS7NFFu1XLtE3kTQcoV1tePYNhQVDVnUzKjb2ENthOtiQOfOfIdf97o/7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJkx5uCln9Tlz4k8w6qK6L7ZlZDVAGxtabBXx1/4QB1AIgcEDcnRvFoJYNdE6HnemBmjDZdd+dM9lQwhPA41J+14g="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]},"1.0.4":{"name":"jsonpath-object-transform","version":"1.0.4","description":"Transform an object literal using JSONPath.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"author":{"name":"David Lane","email":"me@dvdln.com"},"license":"MIT","dependencies":{"JSONPath":"^0.10.0"},"devDependencies":{"bower":"^1.3.1"},"gitHead":"5fd32e61c371b7f77d35d8ce0735e339e6263cc2","bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"homepage":"https://github.com/dvdln/jsonpath-object-transform#readme","_id":"jsonpath-object-transform@1.0.4","_shasum":"adbb35ec0b8e8a74efed896bd07ad6a4945198ff","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"dvdln","email":"me@dvdln.com"},"dist":{"shasum":"adbb35ec0b8e8a74efed896bd07ad6a4945198ff","tarball":"https://registry.npmjs.org/jsonpath-object-transform/-/jsonpath-object-transform-1.0.4.tgz","integrity":"sha512-J8AoK1tnIE1io4ttgduL6czyHByjumnvVjZYtsf93LmtURPdzQGc1+i53GhGeugDveNODr7VV6bEJJ5DfZWviw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSzsOKGoikTXiWcoJGIMNTMH7Rgr1tC7njDMt8hbE+mAIhAMK8htouCZriHeGjAMgVFlzoW0tjgiUnTgo19pruEMtV"}]},"maintainers":[{"name":"dvdln","email":"me@dvdln.com"}]}},"readme":"# jsonpath-object-transform\n> Transform an object literal using JSONPath.\n\n[![npm](https://badge.fury.io/js/jsonpath-object-transform.png)](http://badge.fury.io/js/jsonpath-object-transform)\n\nPulls data from an object literal using JSONPath and generate a new objects based on a template. Each of the template's properties can pull a single property from the source data or an array of all results found by its JSONPath. When pulling an array of data you can also supply a subtemplate to transform each item in the array.\n\nJSONPath is like XPath for JavaScript objects. To learn the syntax, read the documentation for the [JSONPath](https://www.npmjs.org/package/JSONPath) package on npm and the [original article](http://goessner.net/articles/JsonPath/) by Stefan Goessner.\n\n## Usage\n```js\nvar transform = require('jsonpath-object-transform');\n\nvar template = {\n  foo: ['$.some.crazy', {\n    bar: '$.example'\n  }]\n};\n\nvar data = {\n  some: {\n    crazy: [\n      {\n        example: 'A'\n      },\n      {\n        example: 'B'\n      }\n    ]\n  }\n};\n\nvar result = transform(data, template);\n```\nResult:\n```js\n{\n  foo: [\n    {\n      bar: 'A'\n    },\n    {\n      bar: 'B'\n    }\n  ]\n}\n```\n\n## Method\n```js\njsonPathObjectTransform(data, template);\n```\nWhere `data` and `template` are both a plain `Object`. Returns the transformed `Object`.\n\n## Template Objects\nYour template will be an object literal that outlines what the resulting object should look like. Each property will contain a JSONPath `String` or `Array` depending on how many properties from the source data you want to assign to the generated object.\n\n### Pulling a Single Property\n```js\n{ destination: '$.path.to.source' }\n```\nUse a `String` on your template property to assign a single object returned from your JSONPath. If your path returns multiple results then only the first is used.\n\n#### Example\n```js\nvar template = {\n  foo: '$.example'\n};\n\nvar data = {\n  example: 'bar'\n};\n```\nResult:\n```js\n{\n  foo: 'bar'\n}\n```\n\n### Pulling an Array of Properties\n```js\n{ destination: ['$.path.to.sources'] }\n```\nUse an `Array` containing a single `String` to assign all results returned from your JSONPath.\n\n#### Example\n```js\nvar tempalte = {\n  foo: ['$..example']\n};\n\nvar data = {\n  a: {\n    example: 'bar'\n  },\n  b: {\n    example: 'baz'\n  }\n};\n```\nResult:\n```js\n{\n  foo: ['bar', 'baz']\n}\n```\n\n### Transform Items Returned in Array\n```js\n{ destination: ['$.path.to.sources', { item: '$.item.path' }] }\n```\nUse an `Array` with a `String` and an `Object` to assign all results returned from your JSONPath and transform each of the objects with a subtemplate.\n\n#### Example\n```js\nvar template = {\n  foo: [$..example, {\n    bar: '$.demo'\n  }]\n};\n\nvar data = {\n  a: {\n    example: {\n      demo: 'baz'\n    }\n  },\n  b: {\n    example: {\n      demo: 'qux'\n    }\n  }\n};\n```\nResult:\n```js\n{\n  foo: [\n    { bar: 'baz' },\n    { bar: 'qux' }\n  ]\n}\n```\n","maintainers":[{"name":"dvdln","email":"me@dvdln.com"}],"time":{"modified":"2022-06-19T06:41:34.558Z","created":"2014-03-12T03:34:19.159Z","0.1.0":"2014-03-12T03:34:19.159Z","0.1.1":"2014-03-12T03:38:08.030Z","0.1.2":"2014-03-12T03:46:22.009Z","0.2.0":"2014-03-12T04:13:22.543Z","0.2.1":"2014-03-12T04:47:11.783Z","0.2.2":"2014-03-12T11:10:54.160Z","0.2.3":"2014-03-12T11:19:07.883Z","0.2.4":"2014-03-12T11:20:15.347Z","0.2.5":"2014-03-12T11:24:32.407Z","0.2.6":"2014-03-12T11:28:41.910Z","0.2.7":"2014-03-12T11:38:22.808Z","1.0.0":"2014-03-24T16:58:08.927Z","1.0.1":"2014-03-24T17:35:18.611Z","1.0.2":"2014-03-24T17:36:27.710Z","1.0.3":"2014-03-24T18:13:08.637Z","1.0.4":"2015-06-25T02:42:52.620Z"},"homepage":"https://github.com/dvdln/jsonpath-object-transform#readme","keywords":["jsonpath","json","path","object","translate","format","transform","remap","map"],"repository":{"type":"git","url":"git://github.com/dvdln/jsonpath-object-transform.git"},"author":{"name":"David Lane","email":"me@dvdln.com"},"bugs":{"url":"https://github.com/dvdln/jsonpath-object-transform/issues"},"license":"MIT","readmeFilename":"README.md","users":{"kdridi":true,"moosecouture":true,"dberseron":true}}