Skip to content

Doesn't work with ASP.NET MVC naming conventions #129

@Merenia

Description

@Merenia

I tried to use this library to serialize a complex form into json to send it as model in my controller but the list items are not serialized correctly.

Name exemple : foo.bar[0].prop
Serialization :
"foo.bar" : { "0.prop" : "value1", "1.prop" : "value2", "2.prop" : "value3", }

Should be :
"foo" : { "bar" : [ {"prop" : "value1"}, {"prop": "value2"}, {"prop": "value3"} ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions