Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They use hujson: https://github.com/tailscale/hujson

But it doesn't accept things like the example that omits an intermediate comma:

  {
      "foo": 42
      "bar": 123
  }

  >  hujson: line 3, column 5: invalid character '"' after object value (expecting ',' or '}')


They should've gone with Relaxed JSON, which is more relaxed than JSON5, which is more relaxed than HuJSON/JWCC.




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

Search: