I have a script producing a JSON output.
Unfortunately, this output seems to be "class java.lang.String" rather than "document", so it is not consumed by other operators.
The question is - how to properly return a "document" object containing e.g. following JSON:
{item_id: {$in: [36, 39]}}
This should be used as EVD (Read MongoDB) operator criteria input.
Can you help, please?
you mean like this?