This would be interesting, except JavaScript is a terrible language for this. At the minimum I think you&#x27;d want all the arguments and return values to be strictly typed. Otherwise you can&#x27;t for example determine how much memory to allocate for the returned value. The big strength of JSON is that the encoder and decoder can be written by anyone in any language fairly easily. I&#x27;ve used it in JS, Python, PHP, and C, and every time it&#x27;s been super easy because the format is so simple.<p>What would actually be cool is to add type hints to JSON. That way we could conceivably add things like date types to it fairly easily.