Skip to content
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

@AlenPelin

Description

@AlenPelin

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions