Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P parabix-devel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cameron
  • parabix-devel
  • Wiki
  • csv2json

csv2json · Changes

Page history
Update csv2json authored Nov 09, 2021 by cameron's avatar cameron
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 3 deletions
+3 -3
  • csv2json.md csv2json.md +3 -3
  • No files found.
csv2json.md
View page @ 69cf71b1
...@@ -15,12 +15,12 @@ The overall structure of CSV to JSON conversion has 3 phases. ...@@ -15,12 +15,12 @@ The overall structure of CSV to JSON conversion has 3 phases.
One possible translation scheme for CSV to JSON is straightforward and universally One possible translation scheme for CSV to JSON is straightforward and universally
applicable to produce a correct JSON format. applicable to produce a correct JSON format.
1. Every CSV data record is translated into a JSON object with key-value pairs enclosed in "{}". 1. Every CSV data record is translated into a JSON object with key-value pairs enclosed in "`{}`".
2. CSV headers become the keys for each key-value pair. 2. CSV headers become the keys for each key-value pair.
3. The data values in each column of each CSV record are translated into JSON strings enclosed in double quotes ("). 3. The data values in each column of each CSV record are translated into JSON strings enclosed in double quotes (`"`).
Although this scheme is universal, it could be preferable to translate some data values Although this scheme is universal, it could be preferable to translate some data values
into JSON numbers, booleans or the {{{null}}} value instead. However, we first consider into JSON numbers, booleans or the `null` value instead. However, we first consider
the universal scheme in order to illustrate the simplest application of Parabix methods the universal scheme in order to illustrate the simplest application of Parabix methods
to this problem. to this problem.
......
Clone repository
  • Bracket Matching
  • CSV Validation
  • CSVediting
  • CSVparsing
  • Character Code Compilers
  • KernelLibrary
  • Pablo
  • ParabixTransform
  • Parallel Deletion
  • Parallel Hashing
  • Performance Testing Script
  • Shuffle Pattern Library
  • StaticCCC
  • String Insertion
  • UCD: Unicode Property Database and Compilers
View All Pages