Re: Deserialize list of JSON-encoded records with evolved Schema

2019-12-02 Thread Austin Cawley-Edwards
Hi Zoltan, Yes, that works perfectly for me 🤦‍♂. Thank you! Austin On Mon, Dec 2, 2019 at 8:44 AM Zoltan Farkas wrote: > The error suggests that you are attempt to parse a message encoded with > TestRecordV1 and you use TestRecordV2 as writer schema instead > of TestRecordV1. > > > make sure w

Re: Deserialize list of JSON-encoded records with evolved Schema

2019-12-02 Thread Zoltan Farkas
The error suggests that you are attempt to parse a message encoded with TestRecordV1 and you use TestRecordV2 as writer schema instead of TestRecordV1. make sure when you de-serialize an TestRecordV1 array into a TestRecordV2 array, you initialize your Json decoder with the writer schema not th