I have tried protobufs - based on my understanding they are replacement of JSON / XML serialization techniques. They are lightweight compared to these counterparts and follow a schema. The schema is language agnostic and can be used to create schema file in our favourite language using protoc binary.
Installation of protoc
I have installed protoc on my linux machine using the following command
sudo apt install protobuf-compiler
Running this project
Run the command npm install to install the dependencies
To generate employee protobuf file using protoc run the following command