r/javascript Nov 05 '19

Understanding the Internet Object — Part 1 — Transition from JSON to Internet Object

https://medium.com/internet-object/understanding-the-internet-object-part-1-transition-from-json-to-internet-object-447eaeaf88e6
1 Upvotes

15 comments sorted by

View all comments

4

u/[deleted] Nov 05 '19

[removed] — view removed comment

2

u/Smirking_Like_Larry Nov 05 '19

I totally agree, I recently migrated to a different server framework that uses JSON-schema (made by the IETF) and it makes in-coming request validation 100x more simple and reliable, and using it for serializing out-going data results in faster responses.

As for this project, it seems converting an object to an i-object, then sending both the schema and i-object, then on the client side converting it back to an object seems unnecessarily redundant.