Software Alternatives, Accelerators & Startups

JSON Server VS Jsonnet

Compare JSON Server VS Jsonnet and see what are their differences

JSON Server logo JSON Server

Get a full fake REST API with zero coding in less than 30 seconds. For front-end developers who need a quick back-end for prototyping and mocking

Jsonnet logo Jsonnet

A powerful DSL for elegant description of JSON data.
  • JSON Server Landing page
    Landing page //
    2023-08-01
  • Jsonnet Landing page
    Landing page //
    2023-05-26

JSON Server videos

Angular CRUD with Web API Tutorial Part #3 - Setup Local JSON Server and Mock API Endpoints

Jsonnet videos

Jsonnet

More videos:

  • Review - Using Jsonnet to Package Together Dashboards, Alerts and Exporters - Tom Wilkie
  • Review - Webinar: Writing Less YAML – Using jsonnet and kubecfg to Manage Kubernetes Resources

Category Popularity

0-100% (relative to JSON Server and Jsonnet)
Development
89 89%
11% 11
Configuration Management
0 0%
100% 100
API Tools
100 100%
0% 0
Mobile Apps
0 0%
100% 100

User comments

Share your experience with using JSON Server and Jsonnet. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

JSON Server might be a bit more popular than Jsonnet. We know about 44 links to it since March 2021 and only 32 links to Jsonnet. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

JSON Server mentions (44)

  • Full Stack To Do list, a step-by-step tutorial
    Our backend will be little more than a two-way translation layer between the database and the user interface (UI). Later in this post we will identify other responsibilities of a backend but our implementation will be kept simple to demonstrate the fundamental machinery and concepts. It is worth noting the backend comes in two parts, web server and application server. Both json-server and Express are able to... - Source: dev.to / 11 months ago
  • Improve Frontend-Backend development harmony with JSON-Server
    JSON-Server creates fake REST API with a minimum amount of configuration, it provides a simple way to create mock RESTful APIs and easily define the required endpoints, allows easy definition of the data schema in a JSON file and can serve as a reference for each figure in the project. - Source: dev.to / 12 months ago
  • Dictionary app
    I thought about usingJson Server (hosting the repo with the words on Github to begin with), Googlesheets, or maybe Firestore (i would prefer not to use it ,to avoid extra costs just in case it gets a reasonable amount of users). It isnt a big app so I just want a simple solution for storing the words and fetching them. Source: 12 months ago
  • Playwright - Not just for Frontend
    First, I didn't create a backend API for this example, but I used a fake API to test. I created it with json-server and json-server-auth. They are two npm packages that use a JSON file as a database and expose the database in an API. You can find more about json-server in its documentation and about json-server-auth here. - Source: dev.to / over 1 year ago
  • Is there any JSONPlaceholder variant that is free and makes persistent changes in the simulated JSON database? I want to simulate a MongoDB database with it and be able to have persistent changes during my frontend application's presentation.
    You can use json-server which is the technology used by JSONPlaceholder. It is totally free, but not in cloud, you have to run it locally. Every changes is stored in a JSON file. Source: over 1 year ago
View more

Jsonnet mentions (32)

  • A Reasonable Configuration Language
    Jsonnet[1] and kapitan[2] are the tools I currently use. Their learning curve is not optimal (and I tried to contribute to smoothen it with a jsonnet course[3] and a 'get started wit kapitan' blog post[4]), but once used to it it's hard to do without, and their combination makes them even more useful (esp. If you deploy K8s). In Ruud's case, Jsonnet might have been worth looking at as Hashicorp tools can be... - Source: Hacker News / 4 months ago
  • Pkl, a Programming Language for Configuration
    Kubernetes config is a decent example. I had ChatGPT generate a representative silly example -- the content doesn't matter so much as the structure: https://gist.github.com/cstrahan/528b00cd5c3a22e3d8f057bb1a75ea61 Now consider 100s (if not 1000s) of such files. I haven't given Pkl an in depth look yet, but I can say that the Industry Standard™ of "simple YAML" + string substitution (with delicate, error prone... - Source: Hacker News / 4 months ago
  • What Is Wrong with TOML?
    Maybe you'd like jsonnet: https://jsonnet.org/ I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev). Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/ A few years ago I did a small comparison by re-implementing one of my simpler ansible... - Source: Hacker News / 9 months ago
  • That people produce HTML with string templates is telling us something
    Apologies for the lack of context, and for missing this comment until today. Both are tools for defining kubernetes manifests (which are YAML) in a reusable manner. Jsonnet is a formally specified extension of JSON. It’s essentially a functional programming language (w/some object oriented features) that generates config files in JSON/YAML/etc, so it’s straightforward to determine whether an input file is valid,... - Source: Hacker News / about 1 year ago
  • TOML: Tom's Obvious Minimal Language
    I like Google's Jsonnet [1], which has all of this except for 4. Jsonnet is quite mature, with fairly wide language adoption, and has the benefit of supporting expressions, including conditionals, arithmetic, as well as being able to define reusable blocks inside function definitions or external files. It's not suitable as a serialization format, but great for config. It's popular in some circles, but I'm sad that... - Source: Hacker News / about 1 year ago
View more

What are some alternatives?

When comparing JSON Server and Jsonnet, you can also consider the following products

JSON Placeholder - JSON Placeholder is a modern platform that provides you online REST API, which you can instantly use whenever you need any fake data.

Dhall Configuration Language - A non-repetitive alternative to YAML

ReqRes - A hosted REST-API ready to respond to your AJAX requests.

YAML - YAML 1.2 --- YAML: YAML Ain't Markup Language

Postman - The Collaboration Platform for API Development

Protobuf - Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.