Jsonnet

Expressions

expressionmeaning
local x = 2variable
local Smth(x=2) = {y = x} zfunction
function (x) x\*xlambda
[x * x for x in std.range(1, 10)]comprehension
{a : 2} + {b : 4}inheritance
local add = import 'add.jsonnet';import
Meta
cfd5180a-f416-4d22-9455-5c96ad124ba1