firestore-migrator icon indicating copy to clipboard operation
firestore-migrator copied to clipboard

Some strings get imported as numbers

Open latifs opened this issue 5 years ago • 2 comments

Hey guys, Trying to import a collection from a JSON file that happens to be in this format:

{
    "manufacturer": "hello",
    "name": "world",
    "grading": "8",
    "status": "completed",
    "submitted_on": "{\"type\":\"timestamp\",\"data\":\"10/4/18\"}",
    "submitted_by": "fox mulder",
    "approved_for": [
      "group-2",
      "group-3",
      "group-4"
    ]
  },

For some reasons grading gets imported as a number. Am I Missing something?

Thanks

latifs avatar Feb 28 '19 20:02 latifs

I have same issue. { "id": "store", "name": "store name", "nameBranch": "", }

imported: "store" "store name" 0 <=== Number

yishin avatar Apr 19 '19 15:04 yishin

Any luck?? I am facing the same issue.

pranavpari avatar May 08 '20 18:05 pranavpari