Skip to content

support serializing complex attributes to types other than string#105

Merged
csantero merged 1 commit into
masterfrom
complex-types
Mar 26, 2016
Merged

support serializing complex attributes to types other than string#105
csantero merged 1 commit into
masterfrom
complex-types

Conversation

@csantero

Copy link
Copy Markdown
Collaborator

Now you can do

public class MyDto
{
    [SerializeAsComplex]
    public SomeOtherClass MyOtherClass {get; set; }
}

public class SomeOtherClass
{
    [JsonProperty("foo-bar")]
    public string FooBar {get; set;}
}

@csantero csantero merged commit c7e0dfd into master Mar 26, 2016
@csantero csantero deleted the complex-types branch March 26, 2016 22:22
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

Successfully merging this pull request may close these issues.

1 participant