FST Register Class Order

I use FST java library for my serialization process. I register all Serializable classes with reflection and it works good on both serialize and deserialize.

If I remove one of that classes or add a new one, it gives exceptions. I know it should have same register order. As much as I know Kryo has a registration method, so you can give id for each registered class.

I couldn’t find out any solution. Do you have any suggestions for solution?

Thanks