This repository was archived by the owner on Apr 28, 2020. It is now read-only.
This repository was archived by the owner on Apr 28, 2020. It is now read-only.
Implement ORM #4
Open
Description
It is essential to implement an ORM that will map Json5Object to custom types the same as it is done by Json.NET. For example:
public class Program
{
public string Name { get; set; }
public Program Nested;
public static void Main()
{
var obj = Json5.Parse<Program>("{ name: 'hello world', nested: { name: 'hello parent' } }");
Console.WriteLine(obj.Name);
Console.WriteLine(obj.Nested.Name);
}
}
Metadata
Metadata
Assignees
Labels
No labels