pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/dshe/Stringification

f21fe337.css" /> GitHub - dshe/Stringification: A simple utility to create string representations of objects.
Skip to content

A simple utility to create string representations of objects.

License

Notifications You must be signed in to change notification settings

dshe/Stringification

Repository files navigation

Stringification   Build status NuGet NuGet License

A simple utility which creates a json-like string representation of the non-default public propertiues of an object

  • .NET 8.0 library
  • simple and intuitive API
  • tested
  • dependencies: none
Company company = new()
{
    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

License

Stars

Watchers

Forks

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy