神奇的Pycharm(一)

Pycharm的神奇功能:json

在調用接口時,技術項目運行出來的結果是一個長長的一行的json串,沒有格式,很差看,難分析,以下:插件

{"totalAmount":21645.04,"totalCompoundInterest":0,"totalPrincipal":3926.49,"totalInterest":1305.07,"totalPenaltyFee":787.25,"totalOverdueFee":12985.29,"alreadyNormalPayPeriods":0,"currentPaymentPhase":1,"currentOverduePeriods":5,"currentOverdueBillPeriods":6,"acrossPhasePayMoney":6593.88,"recentRepaymentDate":null,"recentRepaymentMoney":0,"allOverdueMonth":"2018-2-7,2018-4-1,2018-5-1,2018-6-1,2018-7-1","squareUp":50891.52}rest

pycharm經過安裝插件 show as Jsonorm

相關文章
相關標籤/搜索