Closed right-mouse closed 10 months ago
Please try the "arrays" branch. The example will not work as Unmarshal converts all numbers to float64 what can not be assigned to ints. Parse should work though. I still have some more edge case to test and need to compare to the core json library to see if it handles the example.
ok, updated to handle the test case. Should be ready.
Released v1.21.0
Works as expected. Thanks for the fix.
Simple example:
The following error is returned:
reflect.MakeSlice of non-slice type
Playground: https://go.dev/play/p/Qasyi87zIFb