Skip to content

bmpickford/dynamoconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamo Converter

Convert DynamoDB JSON to and from regular JSON, with the added ability of converting arrays

Example

In

{
  "string": {"S": "foo"},
  "list": {"L": [{"S": "fizz"}, {"S": "buzz"}, {"S": "pop"}]},
  "map": {
    "M": {
      "nestedMap": {
        "M": {
          "key": {"S": "value"}
        }
      }
    }
  },
  "number": {"N": "123"},
  "nullValue": {"NULL": true},
  "boolValue": {"BOOL": true}
}

Out

{
  "string": "foo",
  "list": [
    "fizz",
    "buzz",
    "pop"
  ],
  "map": {
    "nestedMap": {
      "key": "value"
    }
  },
  "number": 123,
  "nullValue": null,
  "boolValue": true
}

Development

This project is bootstrapped using create-next-app

Running

yarn start

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Benjamin Pickford.
This project is MIT licensed.

About

Easily convert DynamoDB object to and from JSON

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published