How to deal with a large JSON object on Android

前端 未结 6 1945
夕颜
夕颜 2020-12-17 16:37

I\'m making an Android app that runs a ASP.NET WebService. Webservice sends a JSON object and app parses the object and displays on the screen. In one case, JSON object is t

6条回答
  •  天命终不由人
    2020-12-17 17:12

    Sending the large size data from server to mobile. JSON is light weight. If you want to pass the data using more efficient way then passes it in pagination. If you want to use more lighter protocol than JSON then implement the below google protocol which are really useful, which are supporting major languages. Below are smaller Serialised data structure. Google's data interchange protocol.

    1.Google Protocol

    2.Flat Buffers

    3.Nano-proto buffers

    Hope this will be useful you.

提交回复
热议问题