.withPrimaryKey(HASH_KEY_NAME, "howToPut_TopLevelJSON", RANGE_KEY_NAME, 1);
table.putItem(item);
// Retrieve the entire document and the entire document only
Item documentItem = table.getItem(new GetItemSpec()
.withPrimaryKey(HASH_KEY_NAME, "howToPut_TopLevelJSON", RANGE_KEY_NAME, 1));
System.out.println(documentItem.toJSON());
// Output: {"first_name":"Jeff","myRangeKey":1,"person_id":123,"current_city":"Tokyo","next_haircut":{"month":10,"year":2014,"day":30},"last_name":"Barr","children":["SJB","ASB","CGB","BGB","GTB"],"myHashKey":"howToPut_TopLevelJSON"}
System.out.println(documentItem.toJSONPretty());
// Output:
// {
// "first_name" : "Jeff",