I have tried to use the AsyncParser but I couldn't figure out how to get anything out other than a single jsobject as defined by my AST (in this case Play JSON).
Assume I have something like:
{
"name": "thing"
"elements": [{
"key": "a",
"value": "alice"
},{
"key": "b",
"value": "bob"
},
...
]
}
How can I get it so that each call to absorb will return zero or more elements?
I have tried to use the
AsyncParserbut I couldn't figure out how to get anything out other than a singlejsobjectas defined by my AST (in this case Play JSON).Assume I have something like:
How can I get it so that each call to
absorbwill return zero or more elements?