Skip to content

Json support#112

Merged
olekscode merged 6 commits intoPolyMathOrg:masterfrom
AtharvaKhare:json_support
Aug 2, 2019
Merged

Json support#112
olekscode merged 6 commits intoPolyMathOrg:masterfrom
AtharvaKhare:json_support

Conversation

@AtharvaKhare
Copy link
Contributor

Fixes #97.

There are 5 types of json to which you can read/write: columns index values split records.

The reader converts the json into appropriate types. When reading, the columns and rows do not maintain same order, due to structure of Dictionary (no inherent ordering). Sorting them is not done by default as it may be time consuming.

The schema of the json should be stored in the variable `orient`.
Output schema is decided by variable orient
Output can be prettified by setting pretty to true
Columns are converted to appropriate types
@olekscode olekscode merged commit bb04be6 into PolyMathOrg:master Aug 2, 2019
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

Successfully merging this pull request may close these issues.

Add JSON read/write support

2 participants