VICTOR OMONDI Posted on Jan 11, 2020 • Edited on Jan 11, 2020 Convert to JSON in Python vs Javascript #python #javascript #json Python: import json user = { "name": "Victor" } json_py = json.dumps(user) Enter fullscreen mode Exit fullscreen mode Javascript: const user = { name: "Victor" } const jsonJs = JSON.stringify(user); Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)