Re:Ask HN: When does it make sense to roll your own X?
by acoard on Monday July 15, 2019 @11:45AM
(#20441907)
You can pass null, undefined, or remove the property.
JSON Schema – a whole topic unto itself – gives you further control over locking down how this can be represented (e.g. field MUST be present but can be string matching this regex or null).
JSON Schema – a whole topic unto itself – gives you further control over locking down how this can be represented (e.g. field MUST be present but can be string matching this regex or null).