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

Allow custom JSON serialization / deserialization settings in JSON plugin #610

Closed
yozzozo opened this issue Feb 23, 2014 · 2 comments
Closed
Labels
t/feature Feature request type

Comments

@yozzozo
Copy link
Contributor

yozzozo commented Feb 23, 2014

Feature request: It would be nice if the JSON plugin supported more of the Json.NET API, such as adding in custom serialization settings.

I know I can just build the plugin myself or use the JsonConvert class myself, but allowing custom settings would be slightly better :)

@slodge
Copy link
Contributor

slodge commented Feb 23, 2014

Originally, the intention of moving this out to a JSON plugin was to make the JSON implementation optional and to make it independent.

This was especially important as there are good reasons for people to sometimes use JSON.Net, sometimes use ServiceStack/Text and sometimes use the official JsonContract thing

This kind of makes the plugin API (IMvxJsonConvert) independent of JSON.Net - and I'm not sure how we could inject settings across multiple JSON implementations...


With that said.... maybe a new JSON plugin could be built and could implement some Newtonsoft-specific interfaces?

Linking this to #551

@damasojm
Copy link

according to yozzozo, it would be great to set some options of json.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/feature Feature request type
Development

No branches or pull requests

4 participants