## Change Summary

Ensure that a `SecretStr` type can be populated from json.

## Related issue number

Fix #7720

## Checklist

* [x] The pull request title is a good summary of the changes - it will be used in the changelog
* [x] Unit tests for the changes exist
* [x] Tests pass on CI
* [ ] Documentation reflects the changes where applicable
* [x] My PR is ready to review, **please add a comment including the phrase "please review" to assign reviewers**


Selected Reviewer: @samuelcolvin
Fix failure to load `SecretStr` from JSON (regression in v2.4). ## Change Summary

Ensure that a `SecretStr` type can be populated from json.

## Related issue number

Fix #7720

## Checklist

* [x] The pull request title is a good summary of the changes - it will be used in the changelog
* [x] Unit tests for the changes exist
* [x] Tests pass on CI
* [ ] Documentation reflects the changes where applicable
* [x] My PR is ready to review, **please add a comment including the phrase "please review" to assign reviewers**


Selected Reviewer: @samuelcolvin
::: pydantic.fields
    options:
      group_by_category: false
      members:
        - Field
        - FieldInfo
        - AliasChoices
        - AliasPath
        - PrivateAttr
        - ModelPrivateAttr
        - computed_field
        - ComputedFieldInfo

::: pydantic.fields
    options:
      group_by_category: false
      members:
        - Field
        - FieldInfo
        - AliasChoices
        - AliasPath
        - PrivateAttr
        - ModelPrivateAttr
        - computed_field
        - ComputedFieldInfo
