mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2024-06-28 17:13:49 +02:00
We can't use the same class to map ISO 3166-1 and CGSpace country vocabularies because our Gson is old and lacks the support for the "alternate" value in its annotations (added in Gson 2.5). So it's better to create multiple classes that extend the base one instead of creating a custom deserializer. Each extended class then uses its own Serializedname. |
||
---|---|---|
.. | ||
org/cgiar/cgspace/ctasks |