Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Parsing is incomplete when trailing object keys have null values #79

Open
TannerPerrien opened this issue Apr 25, 2018 · 0 comments · May be fixed by #80
Open

Parsing is incomplete when trailing object keys have null values #79

TannerPerrien opened this issue Apr 25, 2018 · 0 comments · May be fixed by #80

Comments

@TannerPerrien
Copy link

When ImportJSON retrieves an object with null value fields, it drops those keys in the resulting output.

Example 1: This drops fields
INPUT

{
  field1: "1",
  field2: "2",
  field3: null,
  field4: null,
}

OUTPUT

{
  field1: "1",
  field2: "2"
}

Example 2: This works ok

{
  field1: "1",
  field2: "2",
  field3: null,
  field4: null,
  field5: "5"
}

OUTPUT

{
  field1: "1",
  field2: "2",
  field3: null,
  field4: null,
  field5: "5"
}
TannerPerrien added a commit to TannerPerrien/ImportJSON that referenced this issue Apr 25, 2018
@TannerPerrien TannerPerrien linked a pull request Apr 25, 2018 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant