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

While trying to reproduce #1147 I hit this assert/check-fail (building with Makefile at cb18fec3721375ddfc938cb4831835ec06c64d81) ``` ❯ ./jsonnet -e 'std.parseYaml("1\n---")' third_party/rapidyaml/ryml_all.hpp:22998:check failed: !m_tree->is_stream(id) Aborted (core dumped) ``` ``` (gdb) bt #0...

bug

This gets rid of the mutual recursion between `manifestJson` and `evaluate`, turning the `manifestJson` processing into a part of the interpreter's main loop. It should remove one avenue for native...

Code to convert to/from tuples like {year: x, month:x, ... seconds: x } into textual / other structured representations (seconds since epoch, etc).

enhancement

This PR adds digit separators (`1_000`) to Jsonnet's numeric constants. Accompanying issue with format proposal: https://github.com/google/jsonnet/issues/1155

Hi! I'm trying to follow the process we recommend to the [external users of our repo](https://github.com/google/earthengine-catalog/blob/main/docs/install.md), but I'm running into problems. If I `git clone [https://github.com/google/earthengine-catalog`](https://github.com/google/earthengine-catalog%60), remove .bazelversion that pins...

This is to add support for fields which will be exempted and will not be pruned in an object. For example ``` { prune(a, ex=[]):: local isContent(b) = if b...

Using ```bash $ jsonnet --version Jsonnet commandline interpreter (Go implementation) v0.20.0 ``` with following expression: ```jsonnet "1" {} // or ["1" {}] ``` expecting syntax error, comma expected, but got...

rapidyaml seems to choke on trees which contain anchors (or perhaps, strictly, references to them) when returning JSON. To avoid this aggressively resolve anchors/references when parsing YAML into JSON and...

When using the python bindings (jsonnet-0.20.0), an abort is hit when using `std.parseYaml` with a file containing anchors. Steps to reproduce: using `jsonnet` import, simply `std.parseYaml` on any YAML containing...

bug