var v = new
{
token = token,
method = "abc",
param = new string[1] { "data: [nokia]"},
locale = "ru"
};
json = jss.Serialize( v );
{"token":"test","method":"abc","param":["data: [nokia]"],"locale":"ru"}
{
"locale": "ru",
"token": "test",
"method": "abc",
"param": {"data": ["nokia"]}
}
var v = new
{
token = token,
method = "abc",
param = new Dictionary< String, List<String> >() { { "data", new List<String>() { "nokia" } } },
locale = "ru"
};
json = jss.Serialize( v );
(
"data",
new List<String>() { "nokia" }
)