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

FIX : https://github.com/KenanY/json2toml/issues/92 #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mcaruso85
Copy link
Contributor

@mcaruso85 mcaruso85 commented Jun 28, 2021

There is no specification for mixed array in toml. So with this FIX when array is mixed, it behaves like before. If array is array of objects then it follows the spec to have the array of objects

So basically:

console.log(json2toml({"foo": [{"bar": false}, 9, true]}))
foo = [{"bar":false},9,true]

@kenany
Copy link
Owner

kenany commented Jul 15, 2021

Could you fix the merge conflicts?

Copy link
Owner

@kenany kenany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve merge conflicts.

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.

2 participants