7 lines
133 B
D
7 lines
133 B
D
|
|
import std.stdio, std.json;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
auto j = parseJSON(`{ "foo": 1, "bar": [10, "apples"] }`);
|
||
|
|
writeln(toJSON(&j));
|
||
|
|
}
|