Locale Deserializer
This is the deserializer that is used on UnderscoreEnchants' locales. All messages are registered reflectively.
Functions
Link copied to clipboard
open override fun deserialize(src: JsonElement?, type: Type?, ctx: JsonDeserializationContext?): UELocale?
Link copied to clipboard
Iterates through a json object, modifies the initialLocale accordingly and returns the new locale. This iteration is deep, which means that upon encountering another JSON object, this function will call itself on that object.