Skip to content

AI junk - #6112

Closed
aarikg wants to merge 1 commit into
pallets:mainfrom
aarikg:feature/json-pathlib-enum-support
Closed

AI junk#6112
aarikg wants to merge 1 commit into
pallets:mainfrom
aarikg:feature/json-pathlib-enum-support

Conversation

@aarikg

@aarikg aarikg commented Jul 30, 2026

Copy link
Copy Markdown

Summary of Changes

  • Enhanced DefaultJSONProvider._default serializer to support pathlib.PurePath (coerced to string) and enum.Enum (coerced to .value).
  • Allows lask.json.dumps and jsonify() to serialize standard Python Path and Enum objects natively without custom JSON encoder boilerplate.
  • Added unit test est_pathlib_and_enum_serialization in ests/test_json.py.

Testing

  • pytest tests/test_json.py (32 passed)
  • pytest (All 492 tests passed)

@davidism

Copy link
Copy Markdown
Member

@davidism davidism closed this Jul 30, 2026
@davidism davidism changed the title feat(json): support pathlib.PurePath and enum.Enum serialization in DefaultJSONProvider AI junk Jul 30, 2026
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.

2 participants