4

I am new to eventbridge schema registry and typescript. After I set a registry and schema in aws console, and download the code bindings. I am wondering how to use this Marshaller class? I know checking schema basically is to encode and decode data, and see types are correct or not. But I did not get how to use the Marshaller 's marshall and unmarshal method. Especially marshall(data: any, type: string) how to pass in the type parameter.

0 Answers0