filecoin-project / cpp-filecoin

C++17 implementation of Filecoin
https://filecoin.io/
GNU General Public License v3.0
126 stars 36 forks source link

JSON encoding #646

Closed ortyomka closed 2 years ago

ortyomka commented 2 years ago

For now, we have a JSON module inside a RPC server. So if we want to use the module in another part of the project, then we have to include the whole server.

We could realize two options:

  1. move json codec to utils or common
  2. move declaration of encoding and decoding close to declaration of type