Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Stringification   Build status NuGet License

A simple utility which creates a json-like string representation of an object

  • supports .NET Standard 2.0
  • simple and intuitive API
  • dependencies: StringEnums, Reactive Extensions, NodaTime
  • tested
var company = new Company
{
    Name = "Aco",
    Id = 9,
    Active = true,
    Location = new Location("3 Ruey", Country.Macedonia, DateTime.Now),
    People = new List<Person>() 
            { new Person("Natalia", 18), new Person("Natasha", 42) }
};

company.Stringify() =>

Company: {
    Name:"Aco", 
    Id:9, 
    Active:True, 
    Location:{Address:"3 Ruey", Country:Macedonia, Updated:4/7/2019 10:10:20 PM}, 
    People:[{Name:"Natalia", Age:18}, {Name:"Natasha", Age:42}]
}

About

A simple utility to create string representations of objects.

Topics

Resources

Languages

You can’t perform that action at this time.