English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been reading an article and the author uses such a phrase :

If our model binder deserialized JSON into a ComicBook it would not be able to make that determination because serialization is an all or nothing affair.

While everything was good but suddenly I saw this "serialization is an all or nothing affair" and it doesn't make much sense to me. Could you please explain what he might be meaning?

Source article in case you want to see more context: http://haacked.com/archive/2011/06/30/whatrsquos-the-difference-between-a-value-provider-and-model-binder.aspx

share|improve this question

closed as general reference by FumbleFingers, MετάEd, Mahnax, Hugo, tchrist Sep 24 '12 at 0:06

This question is too basic; it can be definitively and permanently answered by a single link to a standard internet reference source designed specifically to find that type of information.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

All or nothing means there is no intermediate state or partial result. A SQL commit should be an "all or nothing affair" for example as either the data is committed to the table or not.

share|improve this answer

M-W's definition of all or nothing points to their definition of all-or-none:

: marked either by entire or complete operation or effect or by none at all

The next few sentences in the article provide some context:

When serialization fails, all you know is that the format didn’t match the type. You don’t have access to the granular details we need to provide property level validation. So all you’d be able to show your users is an error message stating something went wrong, good luck figuring out what.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.