Internet Object is based on the support and validation of the data schema, and produces files approximately 40% smaller than JSON.
Nearly 20 years after the publication of JSON, a variety of derivatives and extensions have appeared to address specific needs for specialized use cases, such as JSON -RPC and SOAPjr. Alternatives that include YAML (which is technically a superset of JSON, as of version 1.2) are also widely adopted, although a top-down reinvention of data exchange formats is very late.
Internet Object could be the "incredibly simple" solution for JSON Deficiencies, according to the creator of the Mohamed Aamir Maniar project. Internet Object is built with a mentality of the first scheme and with validation of executable data at both the sending and receiving end of the equation. Internet Object syntax reduces data size by 40-45% compared to standard JSON, while retaining human readability.
SEE: Protect your data with two-factor authentication (Free PDF) (TechRepublic)
JSON deficiencies that inspired the creation of Internet Object include the combination of keys and values, as well as data, headers and metadata; and the lack of an inherent scheme, which can cause clarity problems when handling the data.
"The lack of a built-in scheme led to other problems such as data validation, lack of clarity, additional development time, higher development cost, etc. For example, every time we serialize and deserialize data, we are required to validate them "Maniar wrote in the introduction to Internet Object, adding that" for an API endpoint, two different types of clients … it is necessary to validate up to six times; when sending and receiving each one on the server, the desktop and the mobile device. "
Before getting on the xkcd train on standards, the world of data exchange formats (fortunately) is not particularly ecosystem-based, nor is it inherently subject to the line of thinking of "a standard for governing them all "?
What is your opinion about Internet Object? Is a JSON / YAML competitor's perspective a useless exercise, or is there enough space to improve an alternative to thrive? Let us know in the comments section below.