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

Arrays should override strings that already exist at a key #6

Closed
minikomi opened this issue Mar 13, 2015 · 1 comment
Closed

Arrays should override strings that already exist at a key #6

minikomi opened this issue Mar 13, 2015 · 1 comment

Comments

@minikomi
Copy link
Contributor

Test case:

a.b:c

[a.b]
d:e
[]

Observed:

{
  "a": {
    "b": "c"
  }
}

Expected(?):

{
  "a": {
    "b": [
      {
        "d": "e"
      }
    ]
  }
}
abstrctn added a commit that referenced this issue Mar 16, 2015
simple key should overwrite the existing value. Fixes #6.
@abstrctn abstrctn changed the title Scoped arrays don't overwrite or add to existing key value pairs. Arrays should override strings that already exist at a key Mar 16, 2015
@abstrctn
Copy link
Contributor

Good catch! This will be fixed in v0.1.2.

abstrctn added a commit to newsdev/archieml-ruby that referenced this issue Mar 16, 2015
simple key should overwrite the existing value. Addresses
newsdev/archieml-js#6.
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

No branches or pull requests

2 participants