Domanda di colloquio di Stream

State machine based on JSON input and expected output