Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
JSON query and transformation language
Saved setup from 3 h ago
Will it work on macOS?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/schibsted/jslt.git cd jslt
JDK 11
brew install openjdk@11
mvn install -DskipTests
mvn exec:java
To transform one JsonNode into another, do:
import com.schibsted.spt.data.jslt.Parser;
import com.schibsted.spt.data.jslt.Expression;
JsonNode input = ...;
Expression jslt = Parser.compileString(transform);
JsonNode output = jslt.apply(input);
For more alternatives, see the javadoc.
No reports for macOS yet.
GitManual AI Agent reads the 4 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.