In today’s video will be going over a general technique of structuring and validating your JSON when sending it over a WebSockets connection.

This uses the “yup” npm module:
https://www.npmjs.com/package/yup

#json #javascript #websockets

Validating & Structuring JSON over WebSockets
6.60 GEEK