Skip to content

Instantly share code, notes, and snippets.

@Beyarz
Created April 7, 2021 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Beyarz/e1390be24bd1e488519d7ec11d8eebb3 to your computer and use it in GitHub Desktop.
Save Beyarz/e1390be24bd1e488519d7ec11d8eebb3 to your computer and use it in GitHub Desktop.
json.d
import std.stdio;
import std.json;
void main()
{
auto obj;
obj["name"] = "Hi";
obj["age"] = 19;
writeln("Obj name: ", obj["name"]);
writeln("Obj age: ", obj["age"]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment