Skip to content
Advertisement

Tag: github-api

GitHub GraphQL API Problems parsing JSON

What is wrong here? I’ve got but this snippet of code below works correctly I’ve tried out to change quotes (from ” into ‘ or with ” and so on) but it doesn’t work. Answer The problem is related with the double quotes (“). On the first snippet, when you join the ‘{“query”: “‘+query+'”}’ with the query variable, you get

Advertisement