LoneWolf78
New member
- Joined
- Aug 4, 2017
- Messages
- 4
- Programming Experience
- Beginner
Hi, i'm getting started with C# and have followed some tutorials and stuff and everything is going ok.
That is until the following problem occurd.
i have a char array like
and this is holding information (json) like this character by character. but each time i reach the double quotes my loop stops (breaks, or how you want to call it) so the output would be only the first "{"
how can i convert this to json using 'newtonsoft json'
this might be like a easy question, but i'm still learning. so any exmaple or push in the right direction is appriciated.
In the mean time i'll keep searching.
Thank you in advance.
That is until the following problem occurd.
i have a char array like
C#:
wchar_t identity[256];
and this is holding information (json) like this character by character. but each time i reach the double quotes my loop stops (breaks, or how you want to call it) so the output would be only the first "{"
C#:
{
"name":"Irwene",
"profession": 4,
"race": 4,
"map_id": 50,
"world_id": 268435505,
"team_color_id": 0,
"commander": false,
"fov": 0.873
}
how can i convert this to json using 'newtonsoft json'
this might be like a easy question, but i'm still learning. so any exmaple or push in the right direction is appriciated.
In the mean time i'll keep searching.
Thank you in advance.
Last edited: