Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface KanbanJson.UserDataCodec
Turns the user data of a card into something JSON can hold, and back.
Methods
public abstract 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. |
public abstract Object decode(Object json) | The user data for what encode wrote, as the parser read it. |
Method details
encode
public abstract 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
public abstract Object decode(Object json)The user data for what
encode wrote, as the parser read it.