For example, you can fetch basic information on the latest GitHub commit to HHVM in a type-safe way: The output of this is: This approach gives you a very readable and extensible definition of what fields you expect, what types you expect, and means you don't need to write your own validation logic, as TypeAssert does it for you based on your definition.