The array expression Array.AsJSON will give you the array as a string in JSON format.
I'm not familiar with uploading to a server. Depends what kind of server you are using. If the array isn't too large I imagine you could use a POST link to a php page with AJAX object, and the server can save it to a mysql db.
Or if you're using something like firebase the plugin can probably send data directly.
So let me see if I understand correctly, what you're saying is that I should have an Array object, inside that object I'd add my strings (the 4 of them) and then choose the Array.AsJSON and then send it over (I'll be using PlayFab so I am using its plugin for the upload)?
If that is the case, that would not allow me to create the strings in a "key:value" format from what I understand.
I'd like the JSON to be structured in a way that I can simply say:
{
orders
[
sender: "senderID",
description: "this is some order that has some long text description",
orderID: 2,
recipient: "recipientID"
]
}
So when I receive such a string from client1 on client2 I'd be able to take the data and display it to client2 the way I want.
Does that make sense?