AntonShuvaev / intellij-dynamodb

DynamoDB plugin for Intellij IDEA and other JetBrains IDEs
https://plugins.jetbrains.com/plugin/18896-dynamodb
15 stars 0 forks source link

Bad conversion of JSON null field to binary #23

Closed jpJuni0r closed 1 year ago

jpJuni0r commented 1 year ago

When importing the following file, I receive an invalid DyanamoDB JSON, as shown below.

{
  "key": "sample",
  "key-2": null
}
Screenshot 2023-01-15 at 22 36 40

Note, that I manually marked the type of "key-2" as binary. I'd expect that field to be converted to {"NULL": true} instead instead of specifying a malicous binary value.

AntonShuvaev commented 1 year ago

Thanks for reporting the issue. I will fix it in the next update.

jpJuni0r commented 1 year ago

Thank you!

AntonShuvaev commented 1 year ago

Fixed with 2023.1.0