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

How to serialize body, spec,... #1127

Open
ljulliar opened this issue Oct 1, 2024 · 0 comments
Open

How to serialize body, spec,... #1127

ljulliar opened this issue Oct 1, 2024 · 0 comments
Labels
question Further information is requested

Comments

@ljulliar
Copy link

ljulliar commented Oct 1, 2024

Keywords

JSON serialize body spec

Problem

In one my create kopf handler I'm working with body and spec parameters and at some point I'd like to dump the whole body (or spec) as a JSON string that I will then be able to use in a SQL update query. Am I supposed to use json.dump(body) for that or is there another way ?

@ljulliar ljulliar added the question Further information is requested label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant