I noticed when you want to pass a nested JSON object with put item (also update item), it insert the object into the database as [object, object].
I haven't started looking into your code in to mush depth yet, but as aws can support nested json objects, it would worth looking into.
Example
Trying to insert the following object into a new table won't give any warnings
var object = {
"id": "id",
"num": 1,
"str": "string",
"Obj": {
"num": 1,
"str": "string"
}
};
dynode.putItem("NewTable", object);
However amazon will show it inserted as:
{
"id": "id",
"num": 1,
"Obj": "[object Object]",
"str": "string"
}
I noticed when you want to pass a nested JSON object with put item (also update item), it insert the object into the database as [object, object].
I haven't started looking into your code in to mush depth yet, but as aws can support nested json objects, it would worth looking into.
Example
Trying to insert the following object into a new table won't give any warnings
However amazon will show it inserted as: