Parsing JSON object in android

前端 未结 5 530
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 02:31

I have JSON object as follows:

[
    {
        \"Project\": {
            \"id\": \"1\",
            \"project_name\": \"name\"
        },
        \"Allocati         


        
5条回答
  •  眼角桃花
    2020-12-04 03:21

    There are two ways for parsing JSON

    • Google GSON
    • JSON

    When your content of JSON is too complex and long enough you can prefer usin GSON its much easier to maintain than JSON parsing each value manually.

提交回复
热议问题