Remove quote from the JSONArray output

后端 未结 13 1943
野性不改
野性不改 2021-01-02 02:45

On the successful call, I am getting the JSONArray with the key \"objects\" and again the testValue with the key \"name\". The output is Like:



        
13条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 03:17

    What worked for me is

    defect.get("FormattedID").toString().substring(1,defect.get("FormattedID").toString().length()-1)
    

提交回复
热议问题