Generate JSON Output from Gemini

Hello,
i would like to get my results from Gemini-Calls back as a JSON. I know that the Gemini API can be configured to be forced to send results back in a certain json format. But how do i configure this in the Gemini-Make-Connection?
Thanks a lot!

I would be also interested in this. anyone can help?