Skip to content
Discussion options

You must be logged in to vote

Okay, that took way too long to figure out, but now I have a good handle on what is going on here.

This will not work:

"Settings": {
        "$type": "System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Object, mscorlib]], mscorlib",
        "lastUsedUnitId": {
              "1": "units-3368",
              "$type": "System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib],[System.String, mscorlib]], mscorlib"
          }
}

This, on the other hand, will:

"Settings": {
        "$type": "System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Object, mscorlib]], mscorlib",
        "lastUsedUnitId": {
              "$type": "System.Collections…

Replies: 3 comments 26 replies

Comment options

You must be logged in to vote
12 replies
@ayende
Comment options

@ayende
Comment options

@asapostolov
Comment options

@asapostolov
Comment options

@ayende
Comment options

Comment options

You must be logged in to vote
10 replies
@asapostolov
Comment options

@asapostolov
Comment options

@ayende
Comment options

@asapostolov
Comment options

@ayende
Comment options

Answer selected by asapostolov
Comment options

You must be logged in to vote
4 replies
@ml054
Comment options

@asapostolov
Comment options

@ml054
Comment options

@asapostolov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants