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

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -