GrapeCity / DsExcel-Java

High-speed Excel spreadsheet API for Java
https://developer.mescius.com/document-solutions/java-excel-api
72 stars 19 forks source link

Tojson,Fromjson question #3

Open boiio opened 5 years ago

boiio commented 5 years ago

i use spreadjs9 when i use“var ssjson = JSON.stringify(objSpread.toJSON());” can export to excel but without data. when i use“var ssjson = JSON.stringify(objSpread.toJSON({includeBindingSource: true}));” the fromjson method throw error,"JsonParser#getString() is valid only KEY_NAME, VALUE_STRING, VALUE_NUMBER parser states. But current parser state is START_ARRAY"

Is spreadjs9 not supported?

shangpeixu commented 3 years ago

Sorry for replying late. Yes, GcExcel java hasn't supported to json with includeBindingsSource option. To resolve your questions in time, you could submit your question at https://www.grapecity.com/forums/documents-excel-java, then our tech supporters will handle it.