java.lang.Object
technology.sola.engine.assets.graphics.font.mapper.FontInfoJsonMapper
All Implemented Interfaces:
technology.sola.json.mapper.JsonMapper<FontInfo>

@NullMarked public class FontInfoJsonMapper extends Object implements technology.sola.json.mapper.JsonMapper<FontInfo>
FontInfoJsonMapper is a JsonMapper implementation for FontInfo.
  • Constructor Details

    • FontInfoJsonMapper

      public FontInfoJsonMapper()
  • Method Details

    • getObjectClass

      public Class<FontInfo> getObjectClass()
      Specified by:
      getObjectClass in interface technology.sola.json.mapper.JsonMapper<FontInfo>
    • toJson

      public technology.sola.json.JsonObject toJson(FontInfo fontInfo)
      Specified by:
      toJson in interface technology.sola.json.mapper.JsonMapper<FontInfo>
    • toObject

      public FontInfo toObject(technology.sola.json.JsonObject jsonObject)
      Specified by:
      toObject in interface technology.sola.json.mapper.JsonMapper<FontInfo>