

def _HandleJsonString(self, element):
    'Handles imports for the specified element.\n\n    Args:\n      element: (Property|Parameter) The property we want to set the import for.\n    '
    data_type = element.data_type
    json_type = data_type.json_type
    while ((json_type == 'array') or (json_type == 'map')):
        data_type = data_type._base_type
        json_type = data_type.json_type
    json_format = data_type.values.get('format')
    if ((json_type == 'string') and ((json_format == 'int64') or (json_format == 'uint64'))):
        json_type.SetTemplateValue('requiresJsonString', True)

dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/java_generator.py Java14Generator._HandleJsonString/VarMisuse@92/198 `element`->`json_type`