connect icon indicating copy to clipboard operation
connect copied to clipboard

Stdin blobl mapping command

Open FluffySocks32 opened this issue 1 year ago • 0 comments

Hi,

When using the cli version of the benthos blobl command and piping in a valid json document - no matter what changes are made to the mapping file the return error message, results in a failed assignment.

Upon testing only jsonl documents work.

The reason why I am looking to use this command, is to generate sample events, to be integrated into a unit testing framework.

Posted this question on discord and was directed here.

"unfortunately thats a limitation of benthos blobl, it cant gobble up json objects containing newlines because its input format agnostic so always goes by newlines"

Thank you

FluffySocks32 avatar Nov 15 '23 23:11 FluffySocks32