The following code downloads data from Reddit as:
https://www.reddit.com/r/MaliciousCompliance.json
And converts the response to a GraphQL defintion. The original Reddit API is wrapped in a new API using Flask. This is done using 2 different approaches:
- The code first approach
- The schema first approach
- The serverless cloud functions approach
Note: GraphQL seems kind of similar to jackson databind...