2013-11-19 00:03:11 +01:00
|
|
|
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;
|
2016-01-06 10:03:24 +01:00
|
|
|
j = 1.44;
|
2019-10-27 10:15:51 +01:00
|
|
|
k = { __toString = self: self.a; a = "foo"; };
|
2013-11-19 00:03:11 +01:00
|
|
|
}
|