Focus mode
Serialization and deserialization of data happens exactly where you would expect, at contract boundaries. Here is a clear picture of the important pieces that might help. Note that the contract can hold some data (eg. primitive and custom types)
@nearBindgen
is a decorator made for the serialization of custom classes before they are saved to storage onto the blockchain. @nearBindgen
does not support class inheritance.
Programs to Accelerate Your Progress in a Software Career
Join our 4-8 month intensive Patika+ bootcamps, start with the fundamentals and gain comprehensive knowledge to kickstart your software career!
You need to enroll in the course to be able to comment!