package Ġio . simple matter . water stream . vehicles im ulator . domain Ċ Ċ import Ġio . vertx . core . json . JsonObject Ċ Ċ data Ġclass ĠCompany Pass engers ( ĊĠĠĠ Ġval Ġcompany : ĠString , ĊĠĠĠ Ġval Ġpass engers : ĠInt , ĊĠĠĠ Ġval Ġtopic : ĠString Ċ ) Ċ Ċ fun ĠCompany Pass engers . toJson (): ĠJsonObject Ġ{ ĊĠĠĠ Ġval Ġjson Ġ= ĠJsonObject () ĊĠĠĠ Ġjson . put (" company ", Ġcompany ) ĊĠĠĠ Ġjson . put (" pass engers ", Ġpass engers ) ĊĠĠĠ Ġjson . put (" topic ", Ġtopic ) ĊĠĠĠ Ġreturn Ġjson Ċ }