0

I am trying to understand serialization and the way data is passed between the client and server, but I am still not clear.

Is converting objects to JSON strings (or XML/something else) what serialization actually stands for? If not, what is the link between the two?

(the language I am using to learn is c#, if it matters)

Thanks!

1

1 Answer 1

4

I would define serialization more broadly; as the means to which an object (usually only represented by memory) is translated into an easily transferrable format. Those formats include:

  • JSON
  • XML
  • Binary
  • FlatBuffer
  • ProtoBuf

And many, many others.

Deserialization is then the means by which that format is translated back into an object in memory.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.