Skip to content

ValueListDictionary JSON support#316

Merged
AnakinRaW merged 8 commits into
mainfrom
develop
Jun 21, 2026
Merged

ValueListDictionary JSON support#316
AnakinRaW merged 8 commits into
mainfrom
develop

Conversation

@AnakinRaW

Copy link
Copy Markdown
Owner

No description provided.

dependabot Bot and others added 8 commits June 20, 2026 14:53
Bumps the actions-deps group with 1 update: [dotnet/nbgv](https://github.com/dotnet/nbgv).


Updates `dotnet/nbgv` from 0.5.1 to 0.5.2
- [Release notes](https://github.com/dotnet/nbgv/releases)
- [Commits](dotnet/nbgv@v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: dotnet/nbgv
  dependency-version: 0.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.NET.Test.Sdk from 18.5.1 to 18.6.0
Bumps Testably.Abstractions.AccessControl from 6.4.0 to 6.6.0
Bumps Testably.Abstractions.Testing from 6.4.0 to 6.6.0

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Testably.Abstractions.AccessControl
  dependency-version: 6.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
- dependency-name: Testably.Abstractions.Testing
  dependency-version: 6.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: AnakinRaW <Anakin@gmx-topmail.de>
* update deps

* initial support

* Support all System.Text.Json key types in ValueListDictionaryJsonConverter

Read and write keys through the JsonConverter<T> that the options resolve
for the key type (ReadAsPropertyName/WriteAsPropertyName) instead of
Convert.ToString/Convert.ChangeType. This adds support for Guid, enum,
bool, floating-point and every other built-in dictionary key type, applies
DictionaryKeyPolicy to all keys, and makes complex keys work on the same
terms as a normal Dictionary<,> (via a custom key converter). Repeated
property names now collapse to last-wins at the original position.

Expand the tests to mirror the runtime's CustomConverterTests: a key/value
type matrix (string, int, Guid, enum, bool, double, complex values), all
eight concrete and interface variants, and read edge cases (null root,
empty object, empty/null value lists, duplicate keys, non-object root).
Add shared scenario tests that run identically against both converter
registration and [JsonConverter] attribute usage.
@AnakinRaW AnakinRaW merged commit 64b7b71 into main Jun 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant