home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 706273211

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1003#issuecomment-706273211 https://api.github.com/repos/simonw/datasette/issues/1003 706273211 MDEyOklzc3VlQ29tbWVudDcwNjI3MzIxMQ== 9599 2020-10-09T16:16:38Z 2020-10-09T16:16:38Z OWNER

I'm not a huge fan of from_json as the name for this. Some other options:

  • Expose json directly so templates can do json.loads() and json.dumps() - this allows for outputting JSON too, which is useful. But is there anything else on the json module that shouldn't be exposed in templates?
  • json_dumps() and json_loads() template functions. I quite like that.
  • Something else?
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
718238967  
Powered by Datasette · Queries took 2.091ms · About: github-to-sqlite