Options
How to output JSON from "Execute Script"?
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?
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?
Tagged:
0
Answers
you mean like this?