mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36:15 +02:00
11 lines
195 B
Nix
11 lines
195 B
Nix
builtins.toJSON
|
|
{ a = 123;
|
|
b = -456;
|
|
c = "foo";
|
|
d = "foo\n\"bar\"";
|
|
e = true;
|
|
f = false;
|
|
g = [ 1 2 3 ];
|
|
h = [ "a" [ "b" { "foo\nbar" = {}; } ] ];
|
|
i = 1 + 2;
|
|
}
|