Skip to content

Instantly share code, notes, and snippets.

@dilrajsingh1997
Created December 2, 2021 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dilrajsingh1997/20f850436d014bc43196f62534e2e28f to your computer and use it in GitHub Desktop.
Save dilrajsingh1997/20f850436d014bc43196f62534e2e28f to your computer and use it in GitHub Desktop.
file addLine "override fun parseValue(value: String): "
addVariableType(file, propertyInfo)
file addPhrase " {"
tabs++
file addLine "return gson.fromJson(value, object : TypeToken<"
addVariableType(file, propertyInfo)
file addPhrase ">() {}.type)"
tabs--
file addLine "}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment