변환에 실패할 때
핵심 포인트
- 확인
- 수정
"Could not convert. Check the JSON syntax and so on." is shown and you can't proceed. Here are causes and fixes for when Convert CSV and JSON cannot convert.
What to check first
- Is the direction right?: Are you pasting CSV while it is set to "JSON → CSV"?
- Is the delimiter right?: choose again to match the data.
- Is the data empty?: whether pasting worked.
- Is the JSON syntax correct?: the number of brackets and placement of commas.
Steps (fixing)
- Check the "Direction".
- Review the content of "Before conversion".
- Match the delimiter to the data.
- Press "Convert" again.
In JSON → CSV, most errors are caused by mistakes in the JSON syntax.
Common JSON syntax mistakes
- An extra comma after the last item: like {"a": 1, "b": 2,}.
- Using single quotes: JSON requires double quotes (").
- Item names not enclosed in quotes: item names are enclosed in double quotes.
- Unclosed brackets: the numbers of { and }, [ and ] don't match.
- Comments included: JSON cannot have comments.
Common CSV problems
- Wrong delimiter: meant comma but it was tab.
- Unclosed double quotes: the quotes enclosing items don't pair up.
- Items containing line breaks: without quotes around them, rows shift.
Tips for finding JSON mistakes
- Try with short data
- Paste a little at a time and check
- Check bracket pairing in a text editor
- Check with another JSON formatting tool
A useful approach
Pasting just part of the data and seeing whether it converts shows where the problem lies.
예
Pasting an API result gave an error. Looking, explanatory text was mixed in at the end. Pasting only the JSON part again, it converted.
Common stumbling blocks
- Part was missing when copied: select all and copy again.
- Full-width symbols mixed in: full-width brackets and quotes can't be used in JSON.
- Encoding problems: check the paste source.
Frequently asked questions
Does it tell me where the error is?
This tool does not show the error line. Check the points above in order.
요약
Check the direction, delimiter and JSON syntax in turn. Trying with short data is the tip.
“CSV와 JSON 변환” 사용하기 (무료)함께 쓰면 좋은 도구
- 중복된 줄 제거 및 목록 정렬: 중복된 줄을 제거하고 정렬합니다.
- ZIP 파일 만들기: 여러 파일을 하나의 ZIP으로 묶습니다.
- 글자 수 세기 (지원서·리포트용): 텍스트의 글자 수, 줄 수, 원고지 매수를 셉니다.