kopf icon indicating copy to clipboard operation
kopf copied to clipboard

How to serialize body, spec,...

Open ljulliar opened this issue 1 year ago • 0 comments

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 avatar Oct 01 '24 14:10 ljulliar