You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to be possible to call toJSON() on a dynamodb item with the v1 SDK.
I need some guidance on how this is to be achieved in the v2 SDK.
Searching for toJSON in the migration guide and the issues here did not yield any result.
Here is the method in question from the v1 SDK
packagecom.amazonaws.services.dynamodbv2.document;
...
publicclassItem {
...
/** * Returns this item as a JSON string. Note all binary data will become * base-64 encoded in the resultant string. */publicStringtoJSON() {
returnJackson.toJsonString(this.attributes);
}
The text was updated successfully, but these errors were encountered:
It used to be possible to call toJSON() on a dynamodb item with the v1 SDK.
I need some guidance on how this is to be achieved in the v2 SDK.
Searching for toJSON in the migration guide and the issues here did not yield any result.
Here is the method in question from the v1 SDK
The text was updated successfully, but these errors were encountered: