Hacker News new | past | comments | ask | show | jobs | submit login

Type keys are used in various serialization mechianisms, especially JSON/TypeScript APIs (JSON-RPC, RDF-JSON, etc.). Even XML serializations have type keys with the element names.

In these cases, it makes sense to hide those type keys from the API and only use them in the serialization/deserialization logic.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: