Created
July 5, 2018 08:49
-
-
Save kitz99/92a53fd21b5a5b7538fe7abdd70c74a5 to your computer and use it in GitHub Desktop.
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
const obj = { opt1: ["a", "b", "c", "d"], opt2: {opt21: "aaaa", opt22: false}, opt3: "http://exaple.com" } | |
JSON.stringify(obj, null, 4); | |
// "{ | |
// "opt1": [ | |
// "a", | |
// "b", | |
// "c", | |
// "d" | |
// ], | |
// "opt2": { | |
// "opt21": "aaaa", | |
// "opt22": false | |
// }, | |
// "opt3": "http://exaple.com" | |
// }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment