How to parse a ".txt" file?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 07:10 PM
Hi All,
I have a “.txt” file to parse & convert it into json structure with specified headers.
How to do?
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 01:35 AM
Hi @Soumic_Mohanty ,
I believe you can read it with a plain File Reader snap, use Binary to Document to decode the contents and use mapper to spllit the content you want to process.
Here’s a pipeline that is doing exactly what I’m saying.
Process TXT Files_2023_07_18.slp (4.7 KB)
Let me know if this helps,
Bojan
