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

Update JSON serialization methods for Gramps 6.0 #616

Open
DavidMStraub opened this issue Feb 5, 2025 · 3 comments
Open

Update JSON serialization methods for Gramps 6.0 #616

DavidMStraub opened this issue Feb 5, 2025 · 3 comments

Comments

@DavidMStraub
Copy link
Member

@dsblank would you mind summarizing briefly the changes made in gramps-project/gramps#1876 to Gramps core?

Gramps Web API uses the existing gramps.gen.lib.serialize which has been removed, so it will be some work changing it.

@dsblank
Copy link
Member

dsblank commented Feb 5, 2025

Can you point to an example in the gramps-web-api that uses the methods? I don't mind doing the update myself.

BTW, gramps.gen.lib.serialize hasn't been removed, and all of the functions are still there (renamed) if you have a DB instance. Otherwise, you can use the underlying methods in gramps.gen.lib.json_utils.

@dsblank
Copy link
Member

dsblank commented Feb 5, 2025

Thanks! I'll start a PR. From what I've seen, these bits should run faster.

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

No branches or pull requests

2 participants