ktsu.ToStringJsonConverter
1.2.4-pre.12
Prefix Reserved
See the version list below for details.
dotnet add package ktsu.ToStringJsonConverter --version 1.2.4-pre.12
NuGet\Install-Package ktsu.ToStringJsonConverter -Version 1.2.4-pre.12
<PackageReference Include="ktsu.ToStringJsonConverter" Version="1.2.4-pre.12" />
<PackageVersion Include="ktsu.ToStringJsonConverter" Version="1.2.4-pre.12" />
<PackageReference Include="ktsu.ToStringJsonConverter" />
paket add ktsu.ToStringJsonConverter --version 1.2.4-pre.12
#r "nuget: ktsu.ToStringJsonConverter, 1.2.4-pre.12"
#:package ktsu.ToStringJsonConverter@1.2.4-pre.12
#addin nuget:?package=ktsu.ToStringJsonConverter&version=1.2.4-pre.12&prerelease
#tool nuget:?package=ktsu.ToStringJsonConverter&version=1.2.4-pre.12&prerelease
ktsu.ToStringJsonConverter
A JSON converter factory that serializes objects using their ToString and FromString methods.
Introduction
ToStringJsonConverter
is a JSON converter factory for System.Text.Json that simplifies serialization and deserialization of custom types by leveraging their ToString
and FromString
methods. This approach is particularly useful for value types, strong types, and any other types where a string representation makes logical sense.
Features
- Automatic Type Detection: Automatically identifies types with compatible
FromString
methods. - String-Based Serialization: Converts objects to and from JSON using their string representation.
- Property Name Support: Works with both JSON values and property names.
- Reflection Optimization: Uses cached reflection for improved performance.
- Generic Method Support: Handles both generic and non-generic
FromString
methods.
Installation
Package Manager Console
Install-Package ktsu.ToStringJsonConverter
.NET CLI
dotnet add package ktsu.ToStringJsonConverter
Package Reference
<PackageReference Include="ktsu.ToStringJsonConverter" Version="x.y.z" />
Usage Examples
Basic Example
using System.Text.Json;
using ktsu.ToStringJsonConverter;
// Configure the converter in your JsonSerializerOptions
var options = new JsonSerializerOptions();
options.Converters.Add(new ToStringJsonConverterFactory());
// Example custom type with ToString and FromString
public class CustomId
{
public string Value { get; set; }
public static CustomId FromString(string value) => new() { Value = value };
public override string ToString() => Value;
}
// Serialization
var id = new CustomId { Value = "12345" };
string json = JsonSerializer.Serialize(id, options);
// json is now: "12345"
// Deserialization
CustomId deserialized = JsonSerializer.Deserialize<CustomId>(json, options);
// deserialized.Value is now: "12345"
Integration with Other Converters
using System.Text.Json;
using System.Text.Json.Serialization;
using ktsu.ToStringJsonConverter;
var options = new JsonSerializerOptions
{
WriteIndented = true,
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Converters =
{
new ToStringJsonConverterFactory(),
new JsonStringEnumConverter()
}
};
// Now both enum values and custom types with FromString will be handled appropriately
Advanced Usage
Working with Collections of Custom Types
using System.Text.Json;
using ktsu.ToStringJsonConverter;
// Setup serializer options with the converter
var options = new JsonSerializerOptions();
options.Converters.Add(new ToStringJsonConverterFactory());
// A collection of custom types
List<CustomId> ids = new()
{
new CustomId { Value = "A001" },
new CustomId { Value = "B002" },
new CustomId { Value = "C003" }
};
// Serialize the collection
string json = JsonSerializer.Serialize(ids, options);
// json is now: ["A001","B002","C003"]
// Deserialize back to a collection
List<CustomId> deserializedIds = JsonSerializer.Deserialize<List<CustomId>>(json, options);
Using with Dictionaries as Keys
// Custom type can be used as dictionary keys
var dictionary = new Dictionary<CustomId, string>
{
{ new CustomId { Value = "key1" }, "value1" },
{ new CustomId { Value = "key2" }, "value2" }
};
string json = JsonSerializer.Serialize(dictionary, options);
// Serializes as a dictionary with string keys
var deserialized = JsonSerializer.Deserialize<Dictionary<CustomId, string>>(json, options);
// Keys are properly deserialized back to CustomId objects
API Reference
ToStringJsonConverterFactory
The primary class for integrating with System.Text.Json serialization.
Methods
Name | Return Type | Description |
---|---|---|
CanConvert(Type typeToConvert) |
bool |
Determines if a type can be converted by checking for a static FromString method |
CreateConverter(Type typeToConvert, JsonSerializerOptions options) |
JsonConverter |
Creates a type-specific converter instance |
Compatibility Requirements
For a type to work with ToStringJsonConverter, it must meet these requirements:
- Have a public static
FromString(string)
method that returns an instance of the type - Override
ToString()
to provide a string representation that can be reversed byFromString
Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Please make sure to update tests as appropriate.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- ktsu.Extensions (>= 1.5.0)
-
net9.0
- ktsu.Extensions (>= 1.5.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ktsu.ToStringJsonConverter:
Package | Downloads |
---|---|
ktsu.AppDataStorage
Application data management library using JSON serialization to save and load data in the user's app data folder. |
|
ktsu.Schema
Schema |
|
ktsu.PkmnDB
PkmnDB |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.2.4 | 265 | 5/21/2025 |
1.2.4-pre.17 | 112 | 5/20/2025 |
1.2.4-pre.15 | 74 | 5/17/2025 |
1.2.4-pre.14 | 136 | 5/16/2025 |
1.2.4-pre.13 | 202 | 5/15/2025 |
1.2.4-pre.12 | 208 | 5/14/2025 |
1.2.4-pre.11 | 201 | 5/13/2025 |
1.2.4-pre.10 | 237 | 5/12/2025 |
1.2.4-pre.9 | 165 | 5/11/2025 |
1.2.4-pre.8 | 108 | 5/10/2025 |
1.2.4-pre.7 | 50 | 5/9/2025 |
1.2.4-pre.6 | 126 | 5/8/2025 |
1.2.4-pre.5 | 122 | 5/7/2025 |
1.2.4-pre.4 | 123 | 5/6/2025 |
1.2.4-pre.3 | 115 | 5/5/2025 |
1.2.4-pre.2 | 127 | 5/4/2025 |
1.2.4-pre.1 | 119 | 5/4/2025 |
1.2.3 | 2,815 | 5/4/2025 |
1.2.3-pre.1 | 52 | 4/26/2025 |
1.2.2 | 586 | 4/25/2025 |
1.2.2-pre.1 | 126 | 4/4/2025 |
1.2.1 | 700 | 3/30/2025 |
1.2.0 | 384 | 3/30/2025 |
1.1.1-pre.3 | 83 | 3/29/2025 |
1.1.1-pre.2 | 463 | 3/25/2025 |
1.1.1-pre.1 | 78 | 2/18/2025 |
1.1.0 | 957 | 2/17/2025 |
1.0.49-pre.3 | 87 | 2/6/2025 |
1.0.49-pre.2 | 69 | 2/5/2025 |
1.0.49-pre.1 | 70 | 2/5/2025 |
1.0.48 | 2,486 | 12/27/2024 |
1.0.48-pre.30 | 72 | 2/4/2025 |
1.0.48-pre.29 | 69 | 2/3/2025 |
1.0.48-pre.28 | 78 | 2/1/2025 |
1.0.48-pre.27 | 70 | 1/30/2025 |
1.0.48-pre.26 | 68 | 1/28/2025 |
1.0.48-pre.25 | 66 | 1/26/2025 |
1.0.48-pre.24 | 68 | 1/24/2025 |
1.0.48-pre.23 | 71 | 1/22/2025 |
1.0.48-pre.22 | 65 | 1/20/2025 |
1.0.48-pre.21 | 62 | 1/18/2025 |
1.0.48-pre.20 | 59 | 1/16/2025 |
1.0.48-pre.19 | 52 | 1/14/2025 |
1.0.48-pre.18 | 59 | 1/13/2025 |
1.0.48-pre.17 | 67 | 1/11/2025 |
1.0.48-pre.16 | 62 | 1/10/2025 |
1.0.48-pre.15 | 65 | 1/10/2025 |
1.0.48-pre.14 | 55 | 1/8/2025 |
1.0.48-pre.13 | 73 | 1/7/2025 |
1.0.48-pre.12 | 75 | 1/5/2025 |
1.0.48-pre.11 | 95 | 1/3/2025 |
1.0.48-pre.10 | 71 | 1/3/2025 |
1.0.48-pre.9 | 75 | 1/3/2025 |
1.0.48-pre.8 | 76 | 1/3/2025 |
1.0.48-pre.7 | 69 | 1/2/2025 |
1.0.48-pre.6 | 95 | 12/31/2024 |
1.0.48-pre.5 | 74 | 12/30/2024 |
1.0.48-pre.4 | 77 | 12/29/2024 |
1.0.48-pre.3 | 64 | 12/28/2024 |
1.0.48-pre.2 | 66 | 12/27/2024 |
1.0.48-pre.1 | 69 | 12/27/2024 |
1.0.47-pre.1 | 73 | 12/27/2024 |
1.0.46 | 291 | 12/26/2024 |
1.0.45 | 106 | 12/26/2024 |
1.0.44 | 100 | 12/26/2024 |
1.0.43 | 97 | 12/26/2024 |
1.0.42 | 107 | 12/26/2024 |
1.0.41 | 121 | 12/26/2024 |
1.0.40 | 99 | 12/26/2024 |
1.0.39 | 106 | 12/25/2024 |
1.0.38 | 256 | 12/23/2024 |
1.0.37 | 263 | 12/23/2024 |
1.0.36 | 97 | 12/23/2024 |
1.0.35 | 129 | 12/23/2024 |
1.0.34 | 327 | 12/19/2024 |
1.0.33 | 247 | 12/16/2024 |
1.0.32 | 337 | 12/6/2024 |
1.0.31 | 277 | 12/5/2024 |
1.0.30 | 154 | 12/4/2024 |
1.0.29 | 256 | 12/2/2024 |
1.0.28 | 121 | 12/2/2024 |
1.0.27 | 141 | 12/2/2024 |
1.0.26 | 186 | 12/1/2024 |
1.0.25 | 186 | 12/1/2024 |
1.0.24 | 156 | 11/30/2024 |
1.0.23 | 120 | 11/29/2024 |
1.0.22 | 206 | 11/27/2024 |
1.0.21 | 180 | 11/26/2024 |
1.0.20 | 199 | 11/20/2024 |
1.0.19 | 315 | 11/15/2024 |
1.0.18 | 189 | 11/14/2024 |
1.0.17 | 176 | 11/13/2024 |
1.0.16 | 424 | 11/4/2024 |
1.0.15 | 183 | 11/1/2024 |
1.0.14 | 597 | 10/17/2024 |
1.0.13 | 401 | 10/7/2024 |
1.0.12 | 159 | 10/4/2024 |
1.0.11 | 322 | 9/23/2024 |
1.0.10 | 143 | 9/20/2024 |
1.0.10-pre.1 | 58 | 12/27/2024 |
1.0.9 | 165 | 9/19/2024 |
1.0.8 | 168 | 9/19/2024 |
1.0.7 | 115 | 9/19/2024 |
1.0.6 | 143 | 9/19/2024 |
1.0.5 | 124 | 9/18/2024 |
1.0.4 | 119 | 9/18/2024 |
1.0.3 | 230 | 9/18/2024 |
1.0.2 | 157 | 9/18/2024 |
1.0.1 | 225 | 9/14/2024 |
1.0.0 | 126 | 9/14/2024 |
## v1.2.4-pre.12 (prerelease)
Incremental prerelease update.
## v1.2.4-pre.11 (prerelease)
Changes since v1.2.4-pre.10:
## v1.2.4-pre.10 (prerelease)
Changes since v1.2.4-pre.9:
## v1.2.4-pre.9 (prerelease)
Changes since v1.2.4-pre.8:
## v1.2.4-pre.8 (prerelease)
Changes since v1.2.4-pre.7:
## v1.2.4-pre.7 (prerelease)
Changes since v1.2.4-pre.6:
## v1.2.4-pre.6 (prerelease)
Changes since v1.2.4-pre.5:
## v1.2.4-pre.5 (prerelease)
Changes since v1.2.4-pre.4:
## v1.2.4-pre.4 (prerelease)
Changes since v1.2.4-pre.3:
## v1.2.4-pre.3 (prerelease)
Changes since v1.2.4-pre.2:
## v1.2.4-pre.2 (prerelease)
Changes since v1.2.4-pre.1:
## v1.2.4-pre.1 (prerelease)
Changes since v1.2.3:
- Sync scripts\PSBuild.psm1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.2.3 (patch)
Changes since v1.2.2:
- Refactor DESCRIPTION and update project SDK references to ktsu.Sdk.Lib and ktsu.Sdk.Test ([@matt-edmondson](https://github.com/matt-edmondson))
- Remove Directory.Build.props and Directory.Build.targets files; add copyright headers to ToStringJsonConverter and test files. ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.2.3-pre.1 (prerelease)
Incremental prerelease update.
## v1.2.2 (patch)
Changes since v1.2.1:
- Update README with comprehensive documentation and usage examples ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.2.2-pre.1 (prerelease)
Incremental prerelease update.
## v1.2.1 (patch)
Changes since v1.2.0:
- Update packages ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.2.0 (minor)
Changes since v1.1.0:
- Add LICENSE template ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.1.1-pre.3 (prerelease)
Changes since v1.1.1-pre.2:
- Sync scripts\make-version.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-changelog.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.1.1-pre.2 (prerelease)
Changes since v1.1.1-pre.1:
- Sync Directory.Build.targets ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-changelog.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .gitignore ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-version.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .editorconfig ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.1.1-pre.1 (prerelease)
Changes since v1.1.0:
- Bump ktsu.Extensions from 1.3.2 to 1.4.0 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.1.0 (minor)
Changes since v1.0.0:
- Refactor test method names to camel case ([@matt-edmondson](https://github.com/matt-edmondson))
- Renamed metadata files ([@matt-edmondson](https://github.com/matt-edmondson))
- Add scripts for automated metadata generation and versioning ([@matt-edmondson](https://github.com/matt-edmondson))
- Add null check in TestRoundTrip to prevent null exception ([@matt-edmondson](https://github.com/matt-edmondson))
- Rename package to ktsu.ToStringJsonConverter and update ktsu.Extensions to version 1.0.30 ([@matt-edmondson](https://github.com/matt-edmondson))
- Apply new editorconfig ([@matt-edmondson](https://github.com/matt-edmondson))
- Update LICENSE file to LICENSE.md with copyright notice ([@matt-edmondson](https://github.com/matt-edmondson))
- Migrate ktsu.io to ktsu namespace ([@matt-edmondson](https://github.com/matt-edmondson))
- Update ktsu.Extensions package reference to version 1.0.31 ([@matt-edmondson](https://github.com/matt-edmondson))
- Migrate ktsu.io to ktsu namespace ([@matt-edmondson](https://github.com/matt-edmondson))
- Add mailmap ([@matt-edmondson](https://github.com/matt-edmondson))
- Replace LICENSE file with LICENSE.md and update copyright information ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.49-pre.3 (prerelease)
Changes since v1.0.49-pre.2:
- Sync scripts\make-changelog.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-version.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.49-pre.2 (prerelease)
Changes since v1.0.49-pre.1:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.49-pre.1 (prerelease)
Changes since v1.0.48:
- Add scripts for automated metadata generation and versioning ([@matt-edmondson](https://github.com/matt-edmondson))
- Add mailmap ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.48-pre.30 (prerelease)
Changes since v1.0.48-pre.29:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.29 (prerelease)
Changes since v1.0.48-pre.28:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.28 (prerelease)
Changes since v1.0.48-pre.27:
## v1.0.48-pre.27 (prerelease)
Changes since v1.0.48-pre.26:
## v1.0.48-pre.26 (prerelease)
Changes since v1.0.48-pre.25:
- Bump MSTest from 3.7.2 to 3.7.3 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.25 (prerelease)
Changes since v1.0.48-pre.24:
## v1.0.48-pre.24 (prerelease)
Changes since v1.0.48-pre.23:
## v1.0.48-pre.23 (prerelease)
Changes since v1.0.48-pre.22:
- Bump MSTest from 3.7.1 to 3.7.2 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.22 (prerelease)
Changes since v1.0.48-pre.21:
- Bump coverlet.collector from 6.0.3 to 6.0.4 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.21 (prerelease)
Changes since v1.0.48-pre.20:
## v1.0.48-pre.20 (prerelease)
Changes since v1.0.48-pre.19:
## v1.0.48-pre.19 (prerelease)
Changes since v1.0.48-pre.18:
- Bump MSTest from 3.7.0 to 3.7.1 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.18 (prerelease)
Changes since v1.0.48-pre.17:
## v1.0.48-pre.17 (prerelease)
Changes since v1.0.48-pre.16:
## v1.0.48-pre.16 (prerelease)
Changes since v1.0.48-pre.15:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.15 (prerelease)
Changes since v1.0.48-pre.14:
- Sync scripts\make-version.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-changelog.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.14 (prerelease)
Changes since v1.0.48-pre.13:
## v1.0.48-pre.13 (prerelease)
Changes since v1.0.48-pre.12:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.12 (prerelease)
Changes since v1.0.48-pre.11:
## v1.0.48-pre.11 (prerelease)
Changes since v1.0.48-pre.10:
- Bump ktsu.Extensions from 1.3.1 to 1.3.2 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.10 (prerelease)
Changes since v1.0.48-pre.9:
- Sync .mailmap ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync scripts\make-version.ps1 ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.9 (prerelease)
Changes since v1.0.48-pre.8:
- Add mailmap ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.48-pre.8 (prerelease)
Changes since v1.0.48-pre.7:
- Add scripts for automated metadata generation and versioning ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.48-pre.7 (prerelease)
Changes since v1.0.48-pre.6:
## v1.0.48-pre.6 (prerelease)
Changes since v1.0.48-pre.5:
- Bump coverlet.collector from 6.0.2 to 6.0.3 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.5 (prerelease)
Changes since v1.0.48-pre.4:
- Bump ktsu.Extensions from 1.2.14 to 1.3.1 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.4 (prerelease)
Changes since v1.0.48-pre.3:
## v1.0.48-pre.3 (prerelease)
Changes since v1.0.48-pre.2:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.48-pre.2 (prerelease)
Changes since v1.0.48-pre.1:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Bump ktsu.Extensions from 1.2.8 to 1.2.14 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.48-pre.1 (prerelease)
Incremental prerelease update.
## v1.0.47-pre.1 (prerelease)
Changes since v1.0.46:
- Renamed metadata files ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.46 (patch)
Changes since v1.0.45:
- Sync icon.png ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.45 (patch)
Changes since v1.0.44:
- Sync Directory.Build.props ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.44 (patch)
Changes since v1.0.43:
- Sync Directory.Build.props ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.43 (patch)
Changes since v1.0.42:
- Sync Directory.Build.props ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.42 (patch)
Changes since v1.0.41:
- Replace LICENSE file with LICENSE.md and update copyright information ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.41 (patch)
Changes since v1.0.40:
- Sync Directory.Build.targets ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.40 (patch)
Changes since v1.0.39:
- Refactor test method names to camel case ([@matt-edmondson](https://github.com/matt-edmondson))
- Update LICENSE file to LICENSE.md with copyright notice ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.39 (patch)
Changes since v1.0.38:
- Bump ktsu.Extensions from 1.2.6 to 1.2.7 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.38 (patch)
Changes since v1.0.37:
- Bump ktsu.Extensions from 1.2.4 to 1.2.6 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.37 (patch)
Changes since v1.0.36:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.36 (patch)
Changes since v1.0.35:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.35 (patch)
Changes since v1.0.34:
- Add null check in TestRoundTrip to prevent null exception ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.34 (patch)
Changes since v1.0.33:
- Bump ktsu.Extensions from 1.0.37 to 1.2.0 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.33 (patch)
Changes since v1.0.32:
- Bump ktsu.Extensions from 1.0.36 to 1.0.37 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.32 (patch)
Changes since v1.0.31:
- Bump ktsu.Extensions from 1.0.35 to 1.0.36 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.31 (patch)
Changes since v1.0.30:
- Bump MSTest.TestFramework from 3.6.3 to 3.6.4 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.30 (patch)
Changes since v1.0.29:
- Bump MSTest.TestAdapter from 3.6.3 to 3.6.4 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.29 (patch)
Changes since v1.0.28:
## v1.0.28 (patch)
Changes since v1.0.27:
- Bump ktsu.Extensions from 1.0.31 to 1.0.32 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.27 (patch)
Changes since v1.0.26:
- Sync Directory.Build.targets ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.26 (patch)
Changes since v1.0.25:
- Update ktsu.Extensions package reference to version 1.0.31 ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.25 (patch)
Changes since v1.0.24:
- Rename package to ktsu.ToStringJsonConverter and update ktsu.Extensions to version 1.0.30 ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.24 (patch)
Changes since v1.0.23:
- Sync Directory.Build.props ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.23 (patch)
Changes since v1.0.22:
- Bump ktsu.Extensions from 1.0.26 to 1.0.27 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.22 (patch)
Changes since v1.0.21:
- Bump ktsu.Extensions from 1.0.25 to 1.0.26 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.21 (patch)
Changes since v1.0.20:
- Sync Directory.Build.props ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync Directory.Build.targets ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.20 (patch)
Changes since v1.0.19:
- Bump Microsoft.NET.Test.Sdk in the microsoft group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.19 (patch)
Changes since v1.0.18:
- Bump ktsu.Extensions from 1.0.24 to 1.0.25 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.18 (patch)
Changes since v1.0.17:
- Bump ktsu.Extensions from 1.0.23 to 1.0.24 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump MSTest.TestAdapter from 3.6.2 to 3.6.3 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.17 (patch)
Changes since v1.0.16:
- Bump MSTest.TestFramework from 3.6.2 to 3.6.3 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.16 (patch)
Changes since v1.0.15:
- Bump ktsu.Extensions from 1.0.21 to 1.0.23 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.15 (patch)
Changes since v1.0.14:
- Bump MSTest.TestAdapter from 3.6.1 to 3.6.2 ([@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump MSTest.TestFramework from 3.6.1 to 3.6.2 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.14 (patch)
Changes since v1.0.13:
- Bump ktsu.Extensions from 1.0.20 to 1.0.21 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.13 (patch)
Changes since v1.0.12:
- Bump ktsu.Extensions from 1.0.18 to 1.0.20 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
- Bump MSTest.TestAdapter from 3.6.0 to 3.6.1 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.12 (patch)
Changes since v1.0.11:
- Bump MSTest.TestFramework from 3.6.0 to 3.6.1 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.11 (patch)
Changes since v1.0.10:
- Bump ktsu.Extensions from 1.0.17 to 1.0.18 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.10 (patch)
Changes since v1.0.9:
- Bump ktsu.Extensions from 1.0.14 to 1.0.17 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.10-pre.1 (prerelease)
Changes since v1.0.10:
- Refactor test method names to camel case ([@matt-edmondson](https://github.com/matt-edmondson))
- Renamed metadata files ([@matt-edmondson](https://github.com/matt-edmondson))
- Add null check in TestRoundTrip to prevent null exception ([@matt-edmondson](https://github.com/matt-edmondson))
- Rename package to ktsu.ToStringJsonConverter and update ktsu.Extensions to version 1.0.30 ([@matt-edmondson](https://github.com/matt-edmondson))
- Update LICENSE file to LICENSE.md with copyright notice ([@matt-edmondson](https://github.com/matt-edmondson))
- Update ktsu.Extensions package reference to version 1.0.31 ([@matt-edmondson](https://github.com/matt-edmondson))
- Replace LICENSE file with LICENSE.md and update copyright information ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.9 (patch)
Changes since v1.0.8:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.8 (patch)
Changes since v1.0.7:
- Bump ktsu.Extensions from 1.0.13 to 1.0.14 in the ktsu group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.7 (patch)
Changes since v1.0.6:
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\dependabot.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\dependabot.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Bump ktsu.Extensions from 1.0.9 to 1.0.13 in the all group ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.6 (patch)
Changes since v1.0.5:
- Sync .github\workflows\dependabot-merge.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.5 (patch)
Changes since v1.0.4:
- Sync .github\workflows\dependabot-merge.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.4 (patch)
Changes since v1.0.3:
- Sync .github\workflows\dependabot-merge.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.3 (patch)
Changes since v1.0.2:
- Bump MSTest.TestFramework from 3.5.2 to 3.6.0 ([@dependabot[bot]](https://github.com/dependabot[bot]))
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Bump MSTest.TestAdapter from 3.5.2 to 3.6.0 ([@dependabot[bot]](https://github.com/dependabot[bot]))
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\workflows\dependabot-merge.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\workflows\dependabot-merge.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
## v1.0.2 (patch)
Changes since v1.0.1:
- Sync .github\dependabot.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Sync .github\workflows\dotnet.yml ([@ktsu[bot]](https://github.com/ktsu[bot]))
- Bump ktsu.Extensions from 1.0.8 to 1.0.9 ([@dependabot[bot]](https://github.com/dependabot[bot]))
## v1.0.1 (patch)
Changes since v1.0.0:
- Migrate ktsu.io to ktsu namespace ([@matt-edmondson](https://github.com/matt-edmondson))
- Migrate ktsu.io to ktsu namespace ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.0-alpha.2 (prerelease)
Changes since v1.0.0-alpha.1:
- Update Extensions package, and project version ([@matt-edmondson](https://github.com/matt-edmondson))
## v1.0.0-alpha.1 (prerelease)
Incremental prerelease update.
## v1.0.0 (major)
- 1.0.0 ([@matt-edmondson](https://github.com/matt-edmondson))
- Add documentation comments ([@matt-edmondson](https://github.com/matt-edmondson))
- Update Extensions package, and project version ([@matt-edmondson](https://github.com/matt-edmondson))
- Add project files. ([@matt-edmondson](https://github.com/matt-edmondson))
- Suppress specific warnings in csproj ([@matt-edmondson](https://github.com/matt-edmondson))