https://github.com/andimiller/integrated-query-language
JSON query and transform language
https://github.com/andimiller/integrated-query-language
Last synced: 3 months ago
JSON representation
JSON query and transform language
- Host: GitHub
- URL: https://github.com/andimiller/integrated-query-language
- Owner: andimiller
- License: mit
- Created: 2015-12-23T22:49:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T18:05:43.000Z (over 7 years ago)
- Last Synced: 2025-01-18T20:59:04.679Z (5 months ago)
- Language: Scala
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# integrated-query-language
This repository contains an AST, Parser and Evaluator for a simple JSON query and transform language, implemented in scala using fastparse for parser combinators.
## Example
```
.foo.bar = "hello"
.foo.baz = .bar
```This, when evaluated and run with some JSON input, would output JSON with the string "hello" inserted into the "bar" field inside "foo", and the contents of "bar" from the input inserted into "baz" inside "foo".