excel2json icon indicating copy to clipboard operation
excel2json copied to clipboard

Object Array가 비정상적으로 파싱됩니다.

Open takions opened this issue 10 years ago • 1 comments

샘플 엑셀을 변환해보면 #reqcoins{[]}가 다음과 같이 저장됩니다. 환경은 오피스 2013입니다.

"reqcoins": {
    "barrack": [
        100,
        500,
        1000,
        1500,
        2000,
        2500,
        0,
        "상점",
        "이름",
        "name",
        "blade",
        "dagger",
        "thorn_dagger",
        "mail",
        0,
        "초기 인벤토리",
        "이름",
        "type",
        "blade",
        "thorn_dagger",
        "mail",
        0,
        0,
        "$key",
        "michael",
        "tobby",
        "tony",
        "gump"
    ],

takions avatar Jul 13 '15 06:07 takions

817 줄에 while( sheet[r] instanceof Array && (v=String(sheet[r][valCol])) != 0) { 로고치고 786줄에 //isSane = true; 로 고치니깐 해당 이슈는 해결 되었네요... 저도 배우는 학생이라....잘 이해하고 한 것은 아니지만 일단 해당 이슈가 해결 되길래.. 참고하시라고 적어둡니다

cosmos0 avatar Nov 09 '17 22:11 cosmos0