https://github.com/drivly/reshape.ly
Library for data transformation and mashups
https://github.com/drivly/reshape.ly
Last synced: 3 months ago
JSON representation
Library for data transformation and mashups
- Host: GitHub
- URL: https://github.com/drivly/reshape.ly
- Owner: drivly
- License: mit
- Created: 2022-07-26T17:12:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T11:57:11.000Z (almost 3 years ago)
- Last Synced: 2025-02-16T15:16:59.357Z (3 months ago)
- Homepage: https://reshape.ly
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reshapely
Library for data transformation and mashupsData can be reshaped either as JavaScript/TypeScript or as JSON. The advantage of JavaScript is that functions can be used to dynamically resolve mappings at runtime, and the advantage of JSON is that the mappings and schemas can be done completely dynamically.
To reshape data, start by defining the shape of the output data you want, and then specifying the JSONPath that property should be mapped from:
```
$..book[0][category,author]
```## Credits
It takes a lot of inspiration from [Select Transform](https://selecttransform.github.io/site/)