Template Function lbcrypto::Serial::DeserializeFromString(CryptoContext<T>&, const std::string&)

Function Documentation

template<typename T>
void lbcrypto::Serial::DeserializeFromString(CryptoContext<T> &obj, const std::string &json)

Deserialize a CryptoContext from a JSON string (see Deserialize).

Parameters
  • obj – - the target for the deserialization

  • json – - the JSON serialization