
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
jsonata-server
Advanced tools
A server-side processor for JSONata that supports JSON and CSV input/output
A server-side processor for JSONata that supports JSON, XML and CSV input/output, with a feature-rich UI editor powered by Monaco Editor
You can use JSONata bindings feature directly inside the JSONata expression window.
To do so, add //BINDINGS
at the end of your JSONata expression, followed by your custom bindings.
Example:
"hello there!" ~> $firstLetterUppercase
//BINDINGS
{
firstLetterUppercase(input) {
return input.charAt(0).toUpperCase() + input.slice(1);
}
}
will produce the following result
"Hello there!"
Simply call $mustache
to perform render a template
{"firstName": "John", "lastName": "Doe"} ~> $mustache("
Hello {{firstName}} {{lastName}} !!
")
will produce the following result (Raw output mode):
Hello John Doe !!
[!NOTE] NodeJS >=18.3 must be installed on your machine
npm install -g jsonata-server
PORT=3000 jsonata-server
[!NOTE] You must be authenticated on the Github Container Registery
docker run -d -p 3000:3000 ghcr.io/joussy/jsonata-server
Open your browser and navigate to http://localhost:3000
git clone https://github.com/joussy/jsonata-server.git
cd jsonata-server
npm install
docker build -t jsonata-server .
docker run -d -p 3000:3000 --name jsonata-server jsonata-server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A server-side processor for JSONata that supports JSON and CSV input/output
The npm package jsonata-server receives a total of 219 weekly downloads. As such, jsonata-server popularity was classified as not popular.
We found that jsonata-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.