Search found 3 matches

by Alewinn
21 Apr 2010, 07:21
Forum: .Net / Unity3D API
Topic: LitJson JSONArray equivalent ?
Replies: 3
Views: 11904

Ah ah !!
Thanks !!
I simply was too intricate in my code to see that !
As we said in french :

Code: Select all

J'avais le nez dans le guidon
I changed some things in my code and it work fine !
by Alewinn
20 Apr 2010, 17:05
Forum: .Net / Unity3D API
Topic: LitJson JSONArray equivalent ?
Replies: 3
Views: 11904

... I tryed to manually create the string from the initial array ;

private JsonData manuallyparse()
{
JsonData mess = new JsonData();
// manually create the params array
string JSonArray = "{\"" + ENETCOM.COM + "\":\""
+ NOTIFTYPE.SENDNEWCHAR.ToString() + "\",\""
+ ENETCOM.PARAMS ...
by Alewinn
20 Apr 2010, 12:29
Forum: .Net / Unity3D API
Topic: LitJson JSONArray equivalent ?
Replies: 3
Views: 11904

LitJson JSONArray equivalent ?

Hi everyone,

I'm trying to send an array to the server with LitJson without any success :(
I tryed to use the StringBuilder and the JsonWritter but the final Json string seems to be malformed ;

JsonData mess = new JsonData();
mess["_cmd"] = NOTIFTYPE.SENDNEWCHAR.ToString();

StringBuilder ...