I'm currently trying to create a simple Script Filter Alfred 3 Workflow using Python. I found an earlier example which demonstrated how to pass XML results to a Python workflow:
xmloutput = """
<?xml version="1.0" encoding="utf-8" ?>
<subtitle>foo bar is a test item</subtitle>
My question is, what is the syntax for doing the same with the new JSON data structure?