mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:57:29 +01:00
Merge pull request #1409 from davotoula/1406-display-app-picture-when-clicked-on-app-picture
Display app picture when clicked on app picture
This commit is contained in:
@@ -113,8 +113,8 @@ class AppMetadata {
|
||||
fun toJson() = assemble(this)
|
||||
|
||||
companion object {
|
||||
fun assemble(data: AppMetadata) = JsonMapper.mapper.writeValueAsString(data)
|
||||
fun assemble(data: AppMetadata): String = JsonMapper.mapper.writeValueAsString(data)
|
||||
|
||||
fun parse(content: String) = JsonMapper.mapper.readValue(content, AppMetadata::class.java)
|
||||
fun parse(content: String): AppMetadata = JsonMapper.mapper.readValue(content, AppMetadata::class.java)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user