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

ASE objects serialization should be done via JSON not via pickle #12

Open
blokhin opened this issue Apr 12, 2023 · 0 comments
Open

ASE objects serialization should be done via JSON not via pickle #12

blokhin opened this issue Apr 12, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@blokhin
Copy link
Member

blokhin commented Apr 12, 2023

def ase_serialize(ase_obj):
return base64.b64encode(pickle.dumps(ase_obj, protocol=4)).decode("ascii")
def ase_unserialize(string):
return pickle.loads(base64.b64decode(string))

@blokhin blokhin added the enhancement New feature or request label Apr 12, 2023
@blokhin blokhin self-assigned this Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant