cgspace-java-helpers/src/main/java/io/github/ilri/cgspace/ctasks/ISO3166CountriesVocabulary....

16 lines
466 B
Java
Raw Normal View History

/*
2022-10-05 14:48:57 +02:00
* Copyright (C) 2020 Alan Orth
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package io.github.ilri.cgspace.ctasks;
import java.util.List;
2022-10-06 13:26:44 +02:00
import com.google.gson.annotations.SerializedName;
public class ISO3166CountriesVocabulary extends CountriesVocabulary {
// support reading iso_3166-1.json from Debian's iso-codes package using SerializedName since our class needs to match the JSON exactly
@SerializedName("3166-1") List<Country> countries;
}