@AndrewHo21,
Could you please check if your JSON is valid by viewing it with JSON Visualizer of Visual Studio. If there is no problem then share it as a JSON file in the form of ZIP directory.
JSON.zip (1.1 KB)
Here’s the json, there is an extra {} at the beginning and end of the json, but those get removed when I run .toString() on it so I don’t think it affects the JsonUtility.ImportData function
@AndrewHo21,
We have tested the scenario using the JSON text as it is but it failed. This text is declared invalid JSON by online tool https://jsonlint.com. However after removing the extra curly braces at the start and end, which results into a valid JSON text, still issue is observed. We have logged this issue in our database for detailed analysis and will write back here once any feedback is ready to share.
This issue is logged as:
CELLSNET-47462 - Error while importing JSON to Excel
@AndrewHo21,
Well for simple issues it normally takes 3 to 5 working days from analysis to hot fix preparation after detailed analysis, implementation and thorough testing. However for complex issues it may take more time. We hope that we may provide you feedback about the ETA in a couple of days and you may get hot fix in the coming week.
@AndrewHo21,
This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-47462”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.
I’m sorry if this is a dumb question but I’ve never imported a dll from my computer before and have only ever installed packages using NuGet for VS. How do I go about importing these two files that you have given me? I added the dll as a dependency. I can see the dll in the project assemblies. Am I doing that right?
@AndrewHo21,
Could you please share your project target framework? It seems that you are using .NET Core and if yes, then we need to provide you a different dll i.e. .NET Standard for your project.
@AndrewHo21,
.NETCore project for Aspose.Cells require the following two dlls only.
Aspose.Cells 20.6.5 from Aspose.Cells20.6.5 For .NetStandard20.zip attached above
System.Drawing.Common
The other two Dlls are for .NET projects which are not required in the .NET Core project.
Here I am attaching complete solution for your reference. You may give it a try and share the feedback. TestCells.zip (5.8 MB)
Note that when NuGet package manager is used for downloading the Aspose.Cells dll, the System.Drawing.Common.dll is added automatically as it is part of the dependencies as shown in the .NetStandard2.0 section in the following link:
@AndrewHo21,
The issues you have found earlier (filed as CELLSNET-47462) have been fixed in Aspose.Cells for .NET v20.7. This message was posted using Bugs notification tool by ahsaniqbalsidiqui
Which version of Aspose.Cells for .NET you are using? I tested your scenario/case with sample JSON data to import it starting from A2 using our latest version/fix: Aspose.Cells for .NET 22.6.1, it works fine and I do not get any issue or error. The output file is fine tuned.
e.g. Sample code: