For now, we have a JSON module inside a RPC server. So if we want to use the module in another part of the project, then we have to include the whole server.
We could realize two options:
move json codec to utils or common
move declaration of encoding and decoding close to declaration of type
For now, we have a JSON module inside a RPC server. So if we want to use the module in another part of the project, then we have to include the whole server.
We could realize two options: