If we make a field in a Java class as transient then GSON will ignore for both serialization and deserialization. Check this example where Player class 'gender' ...
確定! 回上一頁