I need to convert a AWS DYNAMODB JSON to a standard JSON object. so I can remove the data type from the DynamoDB JSON Something more like:
in DYNAMODB JSON:
"videos": [
{
"file": {
"S": "file1.mp4"
},
"id": {
"S": "1"
},
"canvas": {
"S": "This is Canvas1"
}
},
{
"file": {
"S": "main.mp4"
},
"id": {
"S": "0"
},
"canvas": {
"S": "this is a canvas"
}
}
]
to Standard JSON
"videos": [
{
"file": "file1.mp4"
,
"id": "1"
,
"canvas": "This is Canvas1"
,
"file": "main.mp4"
,
"id": "0"
,
"canvas": "this is a canvas"
}
]
I found a nice tool in Javascript but is there any tool in Java in order to do that?