You can change the default Json encoder by setting the SocketManager’s static DefaultEncoder for a new default. After this step all newly created SocketManager will use this encoder.

SocketManager.DefaultEncoder = new LitJsonEncoder();

The encoder can be changed for a SocketManager instance too:

var manager = new SocketManager(new Uri("http://.../"), options);
manager.Encoder = new LitJsonEncoder();