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

Empty key now builds an array #4

Open
kapouer opened this issue Apr 26, 2023 · 1 comment · May be fixed by #5
Open

Empty key now builds an array #4

kapouer opened this issue Apr 26, 2023 · 1 comment · May be fixed by #5

Comments

@kapouer
Copy link

kapouer commented Apr 26, 2023

Hi,
in version 1.0.2

{
  "my.nested." : "value"
}

was converted into

{ my: { nested: { "": "value"}}}

which was fine.

With latest change in 1.0.3, it is now

{ my: { nested: ["": "value"]}}

which is wrong. The new test doesn't take empty string into account.

@kapouer kapouer linked a pull request Apr 26, 2023 that will close this issue
@jeffrson
Copy link

jeffrson commented Aug 1, 2023

This bug breaks reversibility with "flattie".

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 a pull request may close this issue.

2 participants