csv-to-json-converter
Reactive icon

CSV-to-JSON Converter

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 26 Aug (yesterday)
 by 
0.0
 (0 ratings)
csv-to-json-converter

CSV-to-JSON Converter

Documentation
1.0.0

CSV/JSON Conversion Utilities

Client-side OutSystems actions for converting CSV text to JSON and JSON text to CSV without requiring server-side processing.

Key Features

  • 🚀 100% Client-Side Execution
    Processing runs entirely in the user’s browser, reducing server calls and latency.
  • 🛡️ Privacy-Friendly Processing
    CSV and JSON data remain in the browser during conversion and are not automatically sent to backend services or server logs. Applications should still avoid storing or logging sensitive data afterward.
  • 🧠 Reliable CSV Parsing
    Correctly handles quoted values, commas inside fields, double quotes, line breaks, and empty values.
  • 🎛️ Custom Delimiters
    Supports commas, semicolons, tabs, and custom delimiter characters.
  • 🔄 Two-Way Conversion
    Supports both:
  • 📊 Excel-Compatible CSV Output
    Optionally adds a UTF-8 Byte Order Mark to improve compatibility with Microsoft Excel and special characters.
  • 🛡️ Spreadsheet Formula Protection
    Optionally protects values beginning with =, +, -, or @ from being interpreted as spreadsheet formulas.
  • Error Reporting
    Both actions return a success indicator and descriptive error message.


CSV to JSON

How to Use

  1. Add a dependency to CSVToJSON.
  2. Pass the raw CSV content into CSVString.
  3. Set Delimiter, or leave it empty for comma-separated data.
  4. Use JSONString with the OutSystems JSON Deserialize action.

Inputs

  • CSVString — Raw CSV text.
  • Delimiter — Column separator. Defaults to ,.

Outputs

  • JSONString — JSON array containing the CSV rows.
  • Success — Indicates whether conversion succeeded.
  • ErrorMessage — Contains the error description if conversion fails.


JSON to CSV

How to Use

  1. Add a dependency to JSONToCSV.
  2. Pass a JSON array into JsonText.
  3. Set IncludeBom to True for Excel compatibility.
  4. Set ProtectSpreadsheetFormulas to True for user-provided data.
  5. Use CsvText for display or download.

Inputs

  • JsonText — JSON array of objects to convert.
  • IncludeBom — Adds UTF-8 BOM. Recommended: True.
  • ProtectSpreadsheetFormulas — Prevents formula injection. Recommended: True.

Outputs

  • CsvText — Generated CSV text.
  • Success — Indicates whether conversion succeeded.
  • ErrorMessage — Contains the error description if conversion fails.

Supported JSON Format

[
  {
    "Name": "John Smith",
    "Email": "john@test.com"
  }
]

Generated CSV:

"Name","Email"
"John Smith","john@test.com"