Is there a way to print the objects in jsonnet? This is for debugging purposes mainly.
I am using error
to print the objects but that terminates the program execution.
local obj = [
{
myKey: 2,
}];
error 'Printing' + std.toString(obj)
Outputs:
RUNTIME ERROR: Printing[{"myKey": 2}]
snippet:6:1-37
A better way to do this ?