I have seen it stored like this (which is actually Anki)
'\x1f' + [ ...(string[]) ].join('\x1f') + '\x1f'
But if I had to do it more complex, like more fields, and rename-able, I would definitely do it the 2st way.
I wouldn't rely on JSON Object, if I can avoid.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have seen it stored like this (which is actually Anki)
But if I had to do it more complex, like more fields, and rename-able, I would definitely do it the 2st way.
I wouldn't rely on JSON Object, if I can avoid.