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

Update reading-from-network.md #598

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/intro/quick-start/reading-from-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ To read the `data` field from any account, you need to deserialize the data
buffer into the expected data type. This is often done using helper functions
from client libraries for a particular program.

**Deserialization** is the process of converting data from a stored format (like
raw bytes or JSON) back into a usable, structured format in a program. In
blockchain, it involves taking raw, encoded data from the network and
transforming it back into objects, classes, or readable structures so developers
can access and manipulate specific information within a program. Deserialization
is essential for interpreting account or transaction data received from a
network in a form that a program can process and display meaningfully.

Open this next [example](https://beta.solpg.io/6671cd8acffcf4b13384d19b) in
Solana Playground. You'll see this code:

Expand Down
Loading