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:
/ 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
On this page of the site you can watch the video online Validating & Structuring JSON over WebSockets - JavaScript Tutorial with a duration of hours minute second in good quality, which was uploaded by the user dcode 04 June 2020, share the link with friends and acquaintances, this video has already been watched 8,801 times on youtube and it was liked by 205 viewers. Enjoy your viewing!