c# - Is JSON.Net guaranteed to always serialize the same way? -


i need generate 'string' key based on state of object. thought of serializing object json , use result key. works if json.net serializes same way.

is json.net guaranteed serialize same way on same machine if object of same class same state if encountered?

yes, otherwise unit tests fail.

there order property on jsonpropertyattribute if want explicitly state order.


Comments

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -