What is the best way to handle versioning using JSON protocol?

前端 未结 4 1855
栀梦
栀梦 2020-12-23 16:38

I am normally writing all parts of the code in C# and when writing protocols that are serialized I use FastSerializer that serializes/deserializes the classes fast and effic

4条回答
  •  隐瞒了意图╮
    2020-12-23 16:46

    Google's java based gson library has an excellent versioning support for json. It could prove a very handy if you are thinking going java way.

    There is nice and easy tutorial here.

提交回复
热议问题