Parse JSON with Python

后端 未结 2 1949
逝去的感伤
逝去的感伤 2021-01-03 13:25

I\'d like to parse

{\"ticker\":{\"high\":31.9099,\"low\":22.5,\"vol\":108468,\"buy\":29.61,\"sell\":30,\"last\":29.61}}

and end up with:

2条回答
  •  独厮守ぢ
    2021-01-03 13:49

    I'm not sure, but I thought I should post this here in case someone else finds it useful. There is a nice post here on Parsing JSON in Python - it is small be shows how you could use it in different scenarios.

    Good luck!

提交回复
热议问题