export-dynamodb icon indicating copy to clipboard operation
export-dynamodb copied to clipboard

Numeric attribute values are exported as strings, not numbers

Open lylejohnson opened this issue 4 years ago • 1 comments

When I have a DynamoDB item like this:

{
  "id": "7e7e9de9-cb80-4697-bbed-b112caa34050",
  "minValue": 0,
  "maxValue": 10000,
  "readingType": "Power",
  "units": "Watts"
}

where the types of minValue and maxValue are numbers (not strings), the exported version records them as strings:

{
  "id": "7e7e9de9-cb80-4697-bbed-b112caa34050",
  "minValue": "0",
  "maxValue": "10000",
  "readingType": "Power",
  "units": "Watts"
}

lylejohnson avatar Jul 30 '19 16:07 lylejohnson

Have a fix in #11

sarjann avatar Aug 06 '19 22:08 sarjann