-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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"
}
Metadata
Metadata
Assignees
Labels
No labels