Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Rework hash formats and add JSON format #83

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

HarlemSquirrel
Copy link
Member

Closes #70

Test object

{ a: 'cheese', 'a' => 'burger', 1 => 'fries',  1.0 => 'version', count: 33, time: Time.now, nothing: nil, list: [1, 'a', :sym, Time.now, nil], nested_hash: { hi: 'there' } }

image

Closes #70

Replace :ruby19_syntax option with new :hash_format option that has three possible settings.
@HarlemSquirrel
Copy link
Member Author

Should we also support the JSON format for arrays? I guess the only thing it would do is convert symbols to strings inside the array which doesn't seem particularly helpful but also feels a bit incomplete without it if we're doing that in hashes.

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.

JSON
1 participant