Created
April 7, 2021 16:26
-
-
Save Beyarz/e1390be24bd1e488519d7ec11d8eebb3 to your computer and use it in GitHub Desktop.
json.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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