포스트맨에서 콜을 날려보면
{
"comments": [
{
"writer": "ㄹㄹㄹ",
"timestamp": 1538068212,
"rating": 10,
"id": "5bad0ef41b865ea75c1e477c",
"movie_id": "5a54c1e9e8a71d136fb5376c",
"contents": "ㅇㄹ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065390,
"rating": 10,
"id": "5bad03ee1b865ea75c1e477b",
"movie_id": "5a54c1f2e8a71d136fb5376e",
"contents": "ㅁㅁ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065378,
"rating": 10,
"id": "5bad03e21b865ea75c1e477a",
"movie_id": "5a54c1e9e8a71d136fb5376c",
"contents": "ㅇㄹㅇㄹ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065370,
"rating": 10,
"id": "5bad03da1b865ea75c1e4779",
"movie_id": "5a54c1f2e8a71d136fb5376e",
"contents": "ㅇㄹㄴㅇㄹ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065366,
"rating": 10,
"id": "5bad03d61b865ea75c1e4778",
"movie_id": "5a54c1f2e8a71d136fb5376e",
"contents": "ㅇㄹㅇㄴㄹ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065308,
"rating": 10,
"id": "5bad039c1b865ea75c1e4777",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㄴㅇㄹㄴ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065304,
"rating": 10,
"id": "5bad03981b865ea75c1e4776",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㅇㄹㅇㄹㅇ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065301,
"rating": 10,
"id": "5bad03951b865ea75c1e4775",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㅎㅎㅎㅎ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065296,
"rating": 10,
"id": "5bad03901b865ea75c1e4774",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㅎㅎ"
},
{
"writer": "ㄹㄹㄹㅇ",
"timestamp": 1538065286,
"rating": 10,
"id": "5bad03861b865ea75c1e4773",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㄹㄹㄹㄹㄹ"
},
{
"writer": "마블팬 ~",
"timestamp": 1538051444,
"rating": "4.2875",
"id": "5baccd741b865ea75c1e4772",
"movie_id": "5a54c1e9e8a71d136fb5376c",
"contents": "재밌네요 정말"
},
{
"writer": "ㄹㄹㄹㄹ",
"timestamp": 1538034405,
"rating": 10,
"id": "5bac8ae51b865e471f375882",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "ㄹㄹㄹ"
},
{
"writer": "마블팬",
"timestamp": 1538028453,
"rating": 8,
"id": "5bac73a51b865ef9f13274d3",
"movie_id": "5a54c1e9e8a71d136fb5376c",
"contents": "난 슈퍼맨이 좋아요"
},
{
"writer": "z1z1z1",
"timestamp": 1538026672,
"rating": 5,
"id": "5bac6cb01b865ef9f13274d2",
"movie_id": "5a54c286e8a71d136fb5378e",
"contents": "Z1z1z1"
},
{
"writer": "XX by",
"timestamp": 1537876503,
"rating": "4.0",
"id": "5baa22171b865ed6e72c501a",
"movie_id": "5a54c1e9e8a71d136fb5376c",
"contents": "Df"
}
]
}
이렇게 나오는데 rating부분이 double과,string이 섞어나오네요.
그리고 이것때문에 프로젝트 fail 이유중하나였는데, 어떻게 되나요
comment