I've got a simple Trident Topology running in a LocalDRPC where one of the functions outputs the result
field, but when I run it the results I get back seem to be all the information from every tuple, instead of just the result
field as I would have expected given the DRPC docs. Eg:
[["http:\/\/www.smbc-comics.com\/rss.php",http://www.smbc-comics.com/rss.php,[#document: null],[item: null],[link: null],[description: null],http://feedproxy.google.com/~r/smbc-comics/PvLb/~3/CBpJmAiJSxs/index.php,http://www.smbc-comics.com/comics/20141001.png,"http:\/\/www.smbc-comics.com\/comics\/20141001.png"], ...]
It would be okay to get all the information from every tuple back, but there's no indication of which of the fields is called result. As it stands it's not even valid JSON!
So how can I extract the value that corresponds to a specific field that I specified in the topology?