Home Yaml2JsonNode
Yaml2JsonNode
Cancel

Yaml2JsonNode

2.0.0

Updated for multi-framework support with .Net Standard 2.0 and .Net 8.

Most of the changes to support Native AOT involve either updating internal implementation or creating overloads that do. Whatever could not be updated was marked as requiring reflection, which will generate warnings when building Native AOT applications.

Breaking changes

Dropping support for .Net Standard 3.1 - May still be used, but exact behavior cannot be guaranteed.

1.2.4

Fixed an issue with converting nulls to YamlNode.

1.2.3

#485 - YamlDotNet doesn’t report nulls properly (see also their #716 and #810). Thanks to @nickcampau for reporting.

NOTE Nullability declaration of .ToJsonNode() has changed as this method can now return nulls.

1.2.2

#478 - Converting numbers from YAML to JSON parses numbers against the machine’s current culture, not the invariant culture.

1.2.1

#476 - @amis92 discovered that JSON -> YAML -> JSON doesn’t work when the data has string-encoded numbers and proposed the fix.

This change sets all strings to have double-quotes unless the string itself has a double-quote, in which case it’ll set for single-quotes.

1.2.0

Add YamlSerializer static class to provide more natural serializer methods.

1.1.1 (No PR)

Fixes issue with converting strings from JSON to YAML. Previously, quotes were included.

1.1.0

#381 - Adds conversions from JsonNode back to YAML.

1.0.0

Initial release.

Contents