Interface KanbanJson.UserDataCodec

Enclosing class:
KanbanJson

public static interface KanbanJson.UserDataCodec
Turns the user data of a card into something JSON can hold, and back.
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(Object json)
    The user data for what encode wrote, as the parser read it.
    encode(Object userData)
    What to write for a card's user data: a string, a number, a boolean, a list or a map of those, or null to write nothing.
  • Method Details

    • encode

      Object encode(Object userData)
      What to write for a card's user data: a string, a number, a boolean, a list or a map of those, or null to write nothing.
    • decode

      Object decode(Object json)
      The user data for what encode wrote, as the parser read it.