go-jsonnet is a pure Go implementation of the Jsonnet data templating language, which extends JSON with variables, functions, imports, and a standard library so you can generate complex configuration safely. Instead of hand-maintaining massive JSON files, you write concise, reusable templates that evaluate to JSON or YAML, with deterministic semantics and rich error messages. The repository ships both an embeddable VM for Go programs and a command-line interpreter, making it easy to integrate templating into build systems, CLIs, and services. Import paths and custom resolvers let you structure large configuration trees across directories or remote sources, while top-level arguments and external variables parameterize builds per environment. Native functions can be registered from Go to expose domain-specific helpers without forking the language. Tooling such as a formatter and linter-friendly errors encourages clean, consistent templates that scale across teams.

Features

  • Embeddable Go VM with a simple API for EvaluateSnippet and EvaluateFile
  • CLI interpreter with support for YAML output, top-level args, and external variables
  • Configurable importers and search paths for modular template trees
  • Native function hooks to extend Jsonnet with Go helpers
  • Standard library for sets, strings, objects, and functional composition

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Go Jsonnet

Go Jsonnet Web Site

Other Useful Business Software
Runn is a modern resource and capacity planning platform that gets remote teams on the same page. Icon
Runn is a modern resource and capacity planning platform that gets remote teams on the same page.

Runn is best suited for project managers, operations leads, resourcing managers and other people responsible for project delivery.

Runn has a modern and easy-to-use interface that provides your team with a shared view of all the people and projects in your organization. Plan new work alongside existing projects and instantly see how changes to your plans and resourcing affect your company’s bottom line. Runn is intuitive to use and lets you quickly schedule work using simple drag and drop functionality. Runn also allows you to collaborate with your co-workers in real-time, seeing updates live without having to refresh your browser. Runn combines resource and capacity planning with integrated actual tracking and powerful forecasting to deliver meaningful insights and a full picture of your organization.
Sign Up - 100% free until July!
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Go Jsonnet!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

2025-10-10