0

I need to convert a JSON string to a JSON object in Python.

My JSON string looks like

'{"button1": "yes", "channel": "rules-test-channel"}'

I need to convert this string to a JSON object where my end result should look like

{"button1": "yes", "channel": "rules-test-channel"}
2
  • docs.python.org/3/library/json.html Commented Nov 28, 2017 at 14:51
  • The duplicate is a bit overly complicated. Point is, just use json.loads. Commented Nov 28, 2017 at 14:52

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.