Create an arg encoder from the given function.
Create a json arg encoder.
Convenience functions for creating SocketIOArgEncoder instances.