I need to send a list of byte[] as json parameter to .net(wcf) server. Is it possible? or should I do base64 encoding and proceed?
For example, I need to pass a sessionId(String
) and datalist(ArrayList<byte[]>
) in a json object. I am using Retrofit Library, creating request model POJO and sending. sessionId is recieved in the server, but for 'datalist', server is recieving null.
Thanks in Advance