Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting array of array or list of lists #55

Closed
dmtrrk opened this issue Mar 16, 2020 · 1 comment
Closed

Converting array of array or list of lists #55

dmtrrk opened this issue Mar 16, 2020 · 1 comment

Comments

@dmtrrk
Copy link

dmtrrk commented Mar 16, 2020

This package contains F# lists converter. But it does not work with included arrays:

type MyType () = 
    member val Items: int array array = [||] with get, set

for such JSON

"{ \"items\": [[1, 2, 3], [4, 5, 6]] }"

This will fail with

System.NotSupportedException: Collection was of a fixed size
@mbuhot
Copy link

mbuhot commented Mar 18, 2020

@deeptowncitizen does that example work with C#?
It looks like the same error as this issue fixed by this PR, but I'm not sure if that fix is in .net core 3.1, or we have to wait for .net 5.0.

@Tarmil Tarmil closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants