News for hackers. Stuff that matters.
Re:Transit – A format for conveying values between different... by alexatkeplar on Wednesday July 23, 2014 @07:02AM (#8073681)
Here is a JSON Schema validation failure taken straight out of the Snowplow test suite (pretty printed):

  {
    "level": "error",
    "schema": {
      "loadingURI": "#",
      "pointer": ""
    },
    "instance": {
      "pointer": ""
    },
    "domain": "validation",
    "keyword": "required",
    "message": "object has missing required properties ([\"targetUrl\"])",
    "required": [
      "targetUrl"
    ],
    "missing": [
      "targetUrl"
    ]
  }
You can't seriously prefer a NullPointerException (or choose your poison) three functions later.
Re:Transit – A format for conveying values between different... by VMG on Wednesday July 23, 2014 @12:22PM (#8075181)
I'll admit that this doesn't look too bad, but it's an additional effort. You wouldn't do this for very simple formats.