Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow batch mode to be plain text newline delimited not just Array JSON #106

Open
bpb opened this issue Jun 19, 2024 · 1 comment
Open

Comments

@bpb
Copy link

bpb commented Jun 19, 2024

Currently batch mode forces JSON format.
There are instances where the data payload should be raw text but new line delimited where we do not need to send the data as json.
Would be useful to have this option.

@davidradl
Copy link
Contributor

@bpb I think it is unusual to have a bespoke non-json , non-XML API that returns CSV records. I suggest you write your own custom format to convert your payload into JSON. If others in the community find this useful you could provide this as a sample. It is not obvious to me that this would be appropriate to put in to the code base as a new top level format, as it is not standard. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants