propertyOrdering property

List<String>? propertyOrdering
getter/setter pair

Suggesting order of the properties.

A specific hint provided to the Gemini model, suggesting the order in which the keys should appear in the generated JSON string. Important: Standard JSON objects are inherently unordered collections of key-value pairs. While the model will try to respect PropertyOrdering in its textual JSON output.

Implementation

List<String>? propertyOrdering;