Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize/deserialize schemas to JSON #20426

Open
Houstonwp opened this issue Dec 23, 2024 · 0 comments
Open

Serialize/deserialize schemas to JSON #20426

Houstonwp opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature or an improvement of an existing feature

Comments

@Houstonwp
Copy link

Description

In #17523 and the PR in #17524 pickling schemas was confirmed to work. It would be nice to be able to read and write schemas to a JSON format.

This would allow defining a schema in JSON, and allow it to be transportable, e.g., passing the schema in to read_csv().

It would require lexical casting, but this is already done for items in datatypes convert.py for things like python types and FFI.

@Houstonwp Houstonwp added the enhancement New feature or an improvement of an existing feature label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant