<commit_before>Source Code Serializer
=================

[![Build status](https://ci.appveyor.com/api/projects/status/1uj500v255y70odw?svg=true)](https://ci.appveyor.com/project/twsouthwick/sourcecodeserializer)

This is a tool to take a .NET object representation in memory and serialize it to C# code. This is useful for creating test data, where an object can be serialized to C# and easily replicated within a test case.

For example:

```csharp<commit_msg>Add badge for myget<commit_after>Source Code Serializer
=================

[![Build status](https://ci.appveyor.com/api/projects/status/1uj500v255y70odw?svg=true)](https://ci.appveyor.com/project/twsouthwick/sourcecodeserializer)
[![MyGet](https://img.shields.io/myget/source-code-serializer/v/RoslynSerializer.svg?style=plastic)]()

This is a tool to take a .NET object representation in memory and serialize it to C# code. This is useful for creating test data, where an object can be serialized to C# and easily replicated within a test case.

For example:

```csharp
{'fraction_non_alphanumeric': 0.13482056256062075, 'fraction_numerical': 0.01745877788554801, 'mean_word_length': 5.615384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7089980', 'n_tokens_mistral': 331, 'n_tokens_neox': 304, 'n_words': 99}