我正在使用parallelbotsapi来进行情绪分析,在python中,api返回
{u'probabilities': {u'positive': 0.214111, u'neutral': 0.66828, u'negative': 0.11761}, u'usage': u'By accessing ParallelDots API or using information generated by ParallelDots API, you are agreeing to be bound by the ParallelDots API Terms of Use: http://www.paralleldots.com/terms-and-conditions', u'sentiment': u'neutral'}
这是unicode格式还是其他格式,如何将其转换为JSON以便在JS中使用
使用python json module,
json.dumps()
相关问题 更多 >
编程相关推荐