The JsonType data type specifies the index type for a JSON field.
Data structures
OBJECT_JSON: The JSON OBJECT type. Data is flattened, and nested objects are decomposed into key-value pairs. This structure offers high performance.
NESTED_JSON: The JSON NESTED type. Similar to the Nested type, each nested object is indexed as a separate document.
enum JsonType {
OBJECT_JSON = 1;
NESTED_JSON = 2;
}