Validating & Structuring JSON over WebSockets – JavaScript Tutorial



Validating & Structuring JSON over WebSockets – JavaScript Tutorial

Validating & Structuring JSON over WebSockets - JavaScript Tutorial

In today’s video I’ll 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

Support me on Patreon:
https://www.patreon.com/dcode – with enough funding I plan to develop a website of some sort with a new developer experience!

Follow me on Twitter @dcodeyt!

If this video helped you out and you’d like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript #websockets

Comments are closed.