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

Support For Dictionaries #18

Open
hilalhakla opened this issue Oct 9, 2020 · 1 comment
Open

Support For Dictionaries #18

hilalhakla opened this issue Oct 9, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@hilalhakla
Copy link
Owner

hilalhakla commented Oct 9, 2020

Check test case : 371d1c4

@hilalhakla hilalhakla added enhancement New feature or request help wanted Extra attention is needed labels Oct 9, 2020
@hilalhakla hilalhakla pinned this issue Oct 10, 2020
@hilalhakla
Copy link
Owner Author

{
"Authorized" : [
{"John" : ["Building 1", "Building 3", "Building 5"]},
{"Bob": ["Building 1", "Building 5"]},
{ "Joe" : ["Building 2", "Building 3"]}
]
}

// Root myDeserializedClass = JsonConvert.DeserializeObject(myJsonResponse);
public class Authorized {
public List John { get; set; }
public List Bob { get; set; }
public List Joe { get; set; }
}

public class Root    {
    public Dictionary<string,List<string>> Authorized { get; set; } 
}

@hilalhakla hilalhakla unpinned this issue Jan 2, 2021
@hilalhakla hilalhakla added this to the Behavior milestone Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant