google/jsonnet

Jsonnet - The data templating language

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 8th, 2026
Created on August 1st, 2014
Open Issues & Pull Requests: 212 (+0)
GitHub issues: Enabled
Number of forks: 473
Total Stargazers: 7,566 (+0)
Total Subscribers: 104 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.6 days
Mean response time: 367.7 days
90th percentile: 1723.3 days
Tracked items: 117

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 2 days, while "enhancement" waits about 7 weeks. Only 3% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 44
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,000 days
Stale 30+ days: 44
Stale 90+ days: 38

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • documentation (21)
  • enhancement (20)
  • bug (16)
  • Python support (7)
  • OS X support (6)
  • stdlib (6)
  • question (4)
  • windows support (4)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Jsonnet is a data templating language that generates JSON from a more expressive functional syntax.

Jsonnet solves the problem of writing repetitive or complex JSON configuration by providing a language with variables, functions, conditionals, and other programming constructs that compile down to plain JSON. The approach treats configuration as code, allowing developers to reduce duplication and express logic that would be tedious or impossible to represent directly in JSON. The tool includes a standard library and supports imports, making it suitable for managing large configuration files across multiple environments.

Jsonnet works well for teams managing infrastructure-as-code, Kubernetes manifests, or other JSON-based configurations where templating reduces maintenance burden. It suits projects where configuration needs to vary across environments or where shared patterns appear repeatedly. The README recommends the Go implementation as a newer alternative that offers significantly better performance in many cases, though this repository contains the original C++ implementation. The tool is not recommended for processing untrusted Jsonnet code, as the C++ version is not hardened against malicious input, and language constructs like import and importstr can access any file readable by the interpreter process unless explicitly restricted.

The project maintains a comprehensive test suite and supports multiple build systems including Makefile, Bazel, and CMake. The repository includes tooling for code formatting through jsonnetfmt and provides local development infrastructure for testing and documentation generation. The project hosts discussion forums for community engagement and maintains detailed documentation on its website alongside the implementation.