jgiacomini / Tiny.RestClient

Simpliest Fluent REST client for .NET
MIT License
210 stars 30 forks source link

JSON Fuzzy element name matching #45

Closed daniel-luberda closed 6 years ago

daniel-luberda commented 6 years ago

Fuzzy element name matching would be a great addition.

jgiacomini commented 6 years ago

Hello,

You can personalize the two serializers to achieve this type of matching.

The second possibility is to add attribute like [JsonProperty("product_id")].

If you want to add this feature (add some configuration for formatters), feel free to make a PR :).

jgiacomini commented 6 years ago

@daniel-luberda can you tell me if the implementation I made was what you imagine?