Json 데이처 활용

아래 처럼 body 가 응답 되는데

당연한 얘기 지만 이걸 JSON.parse 로 하면 오류가 발생 합니다.

json 형태로된 응값을 받는 방법 또는 body 값을 어떻게 활용하면 되는지에 대한 가이드를 받아 볼수 있을까요?

------newtone2QVXnmUUNiwMa22d Content-Type: application/json; charset=UTF-8 {"type":"beginPointDetection","value":"BPD"} ------newtone2QVXnmUUNiwMa22d Content-Type: application/json; charset=UTF-8 {"type":"partialResult","value":"헤이"} ------newtone2QVXnmUUNiwMa22d Content-Type: application/json; charset=UTF-8 {"type":"partialResult","value":"헤이 카카오"} ------newtone2QVXnmUUNiwMa22d Content-Type: application/json; charset=UTF-8 {"type":"endPointDetection","value":"EPD"} ------newtone2QVXnmUUNiwMa22d Content-Type: application/json; charset=UTF-8 Speech-Length: 2 {"type":"finalResult","value":"헤이 카카오","nBest":[{"value":"헤이 카카오","score":99}]} ------newtone2QVXnmUUNiwMa22d--

안녕하세요.

해당 응답은 multipart/form-data 이므로, 각 part의 body에 대해 json.parse를 진행해야 합니다.

1개의 좋아요

그 샘플코드 공유해주실수 있으실까요 ㅠㅠ
음성인식 진행하고 있는데 바디를 받을수가 없어서요 …