encodeToJsonObject

Encodes the given FunctionCallingSchema instance into a JsonObject representation.

Return

A JsonObject representing the serialized FunctionCallingSchema.

Parameters

json

The Json instance to use for serialization. Defaults to Json instance with default configuration.


Encodes the given JsonSchema instance into a JsonObject representation.

Return

A JsonObject representing the serialized form of the JsonSchema.

Parameters

json

The Json instance to use for serialization. Defaults to Json instance with default configuration.