jsonnet icon indicating copy to clipboard operation
jsonnet copied to clipboard

Jsonnet - The data templating language

Results 210 jsonnet issues
Sort by recently updated
recently updated
newest added

numbers, objects, arrays, functions?

enhancement
C api

To embbed jsonnet in an application as a config language, you often want it to produce a traversable structure. Right now you can evaluate and then reinterpret the char\* with...

enhancement
C api

I find a bug that causes memory leaking in `//cpp/libjsonnet++.cc`. In Line 97, the output char array `jsonnet_output` has not been freed. To my understanding, we need a `::jsonnet_realloc(vm_, jsonnet_output,...

bug

https://jsonnet.org/learning/tools.html#linter

documentation

When trying to format strings longer than 48409 bytes, jsonnet fails with the following error: ``` runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0xc02bd004a8 stack=[0xc02bd00000, 0xc04bd00000] fatal error: stack overflow...

stdlib
performance

Currently `error "foo"` is like throwing an exception, but there is no way to catch the exception. Motivations for "catch": 1) Routines that loop over data and trigger errors for...

enhancement

https://jsonnet.org/learning/getting_started.html#cpp-or-go

documentation

https://en.wikipedia.org/wiki/Elvis_operator The above is more explicit than generalizing (or abusing, maybe?) the `||` operator. It's available in languages like Kotlin.

enhancement

Introduces 5 new built-in methods to the stdlib: - `regexFullMatch(pattern, str)` -- Full match regex - `regexPartialMatch(pattern, str)` -- Partial match regex - `regexQuoteMeta(str)` -- Escape regex metachararacters - `regexReplace(str,...

cla: yes

For exploring Jsonnet, it would be nice to have a REPL, e.g., via `jsonnet -i`. For inspiration, I would look to Scala's REPL as an example.

enhancement