3 ms·
An empty string (zero bytes) isn't valid JSON. '""' vs '' (single quotes to illustrate the wrapper for the total content).
by koolba 9y ago
An empty string (zero bytes) isn't valid JSON.
'""' vs '' (single quotes to illustrate the wrapper for the total content).
- idbehold 9y ago{"foo":""} That's valid JSON that cannot be stored in DynamoDB because the value of "foo" is an empty string. See previous discussion: https://news.ycombinator.com/item?id=13170746 https://news.ycombinator.com/item?id=13170746
- koolba 9y agoAh I didn't notice the distinction between storing the serialzied form (which would be non empty) and storing the record itself. Yes that does suck quite a bit and seems like a pretty bad decision.