GenerativeModelUseJsonMode Property
Determines whether JSON mode is enabled. JSON mode adjusts the content generation response
to specifically produce outputs in JSON format as defined in generation configurations.
JSON mode is incompatible with grounding, Google Search, and code execution tools.
Enabling this mode will override other response formats with "application/json".