Last active
August 14, 2022 22:34
-
-
Save markodayan/b5bbe58f6b6a602a174581cdfc809582 to your computer and use it in GitHub Desktop.
JavaScript app - serialise data and send to Golang app
This file contains hidden or 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
// Step 1 | |
let data = { | |
name: "Chris Redfield", | |
age: 30, | |
job: "STARS soldier", | |
}; | |
// Step 2 (Serialisation Step) | |
let serialised = JSON.stringify(data); | |
// Step 3 | |
sendToGolangApp(serialised); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment