Interface Answer

All Known Implementing Classes:
Answer.Choice, Answer.Predicate, Answer.Score

public sealed interface Answer permits Answer.Choice, Answer.Score, Answer.Predicate
The answer to one Question. The type of the answer follows the type of the question. Read an answer with Decision.answer(Question).

The JSON representation of an answer carries a type tag, so a Decision that a component stores or returns can be read back.