kopf
kopf copied to clipboard
How to serialize body, spec,...
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 ?