For example, there is a simple class
class Point { public int X { get; set; } public int Y { get; set; } } How to translate the contents of this class into an equivalent entry in JSON? The search tells you about the JSON.NET library, is there a solution based on the built-in language tools (in particular for the Compact Framework)?