You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
513 B
17 lines
513 B
7 years ago
|
package com.keylesspalace.tusky;
|
||
|
|
||
|
/**
|
||
|
* This is just a wrapper class for a String.
|
||
|
*
|
||
|
* It was designed to get around the limitation of a Json deserializer which only allows custom
|
||
|
* deserializing based on types, when special handling for a specific field was what was actually
|
||
|
* desired (in this case, display names). So, it was most expedient to just make up a type.
|
||
|
*/
|
||
|
public class StringWithEmoji {
|
||
|
public String value;
|
||
|
|
||
|
public StringWithEmoji(String value) {
|
||
|
this.value = value;
|
||
|
}
|
||
|
}
|