Extracting a subset of attributes with JSONPath
This will work using the Jayway implementation (Java):
$.A.AB[*]['ABB', 'ABA']
and the result for your input would be:
[ { "ABB" : "1", "ABA" : "0" }]
You can Compare different providers here: