Find deprecated json_encoders config option

Proprietary

Pydantic deprecated the json_encoders option in ConfigDict. Its replacements (@field_serializer / @model_serializer or Annotated[..., PlainSerializer(...)]) require restructuring, so this recipe flags its use for review.

org.openrewrite.python.migrate.pydantic.FindDeprecatedJsonEncoders
mod run . --recipe=org.openrewrite.python.migrate.pydantic.FindDeprecatedJsonEncoders

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.