Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JSON5 – JSON for Humans. Parent comment
Mongo types the field name, `{"$date":1623132000}`, if I'm not mistaken. Rust style would be `1623132000_unix`.
Or with anticipation of a more full typing system, where the time is explicitly named:
`{"now": unix:1623132000}`
For now, when I need typing, I use https://json-schema.org
There are no comments on this comment yet.
Mongo types the field name, `{"$date":1623132000}`, if I'm not mistaken. Rust style would be `1623132000_unix`.
Or with anticipation of a more full typing system, where the time is explicitly named:
`{"now": unix:1623132000}`
For now, when I need typing, I use https://json-schema.org