Stardown-app / Stardown

Copy the web as markdown
Apache License 2.0
29 stars 1 forks source link

Copy tables as JSON arrays #97

Closed wheelercj closed 3 months ago

wheelercj commented 3 months ago

Being able to copy tables as valid JSON could be very helpful. This issue covers creating JSON of 2D arrays, but a future issue may cover creating JSON of an object of arrays when the table has a header row and/or a header column (if and when implementing converting tables to JSON objects, note that JSON objects must not have duplicate property names, so any duplicates will need to be made unique somehow).

RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format