Wednesday, June 10, 2020

[DynamoDB][Example] An Item example with dynamoDB Json

"S" means String
"N" means Number
"BOOL" neans Boolean
"L" means List
{
  "name": {
    "S": "BACKJOY"
  },
  "isFood": {
    "BOOL": false
  },
  "location": {
    "L": [
      {"N": "2"}
    ]
  },
  "type": {
    "L": [
      {
        "S": "health",
        "S": "daily"}
    ]
  },
  "price": {
    "N": "530"
  },
  "quantity": {
    "N": "1"
  }
}

text format:
{
  "name": "BACKJOY",
  "isFood":false,
  "location": [2],
  "type": ["health"],
  "price": 530,
  "quantity": 1,
}

No comments :

Post a Comment