plain-text-processor
Service icon

Plain Text Processor

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 1 Oct
 by 
0.0
 (0 ratings)
plain-text-processor

Plain Text Processor

Documentation
1.0.0

The extension processes plain text through a simple workflow:

  1. Define Your Format - Specify field separator (e.g., |, ,, \t) and record separator (e.g., \n, ||)
  2. Map Your Headers - Provide a list of header names that match your field positions
  3. Process the Data - The extension splits records, extracts fields, and converts types automatically
  4. Get JSON Output - Receive a clean JSON array ready to use in your application


Input:

Plain Text: "AJohn|B30|C5000.50\nAJane|B25|C7500.00"
Field Separator: "|"
Record Separator: "\n"
Headers: [{"Name", "A"},{"Age", "B"}, {"Salary", "C"}]


Output:
[

  {

    "Name": "John",

    "Age": 30,

    "Salary": 5000.50

  },

  {

    "Name": "Jane",

    "Age": 25,

    "Salary": 7500.00  

 }

]