July 2017
Beginner to intermediate
390 pages
10h 53m
English
In our server we will serialize data to a string representation. The reason for this is three-fold:
In our main Program.cs file I have added a new class:
public class SomeDataStructure
{
public float X { get; set; }
public float Y { get; set; }
public float Z { get; set; }
}
As you can see, this is just a Vector3 in disguise. Now, if you want to serialize or deserialize data to a string, one solution jumps to mind: Json.NET from Newtonsoft. Add that package through the NuGet Package Manager.
Read now
Unlock full access