code: def as_dict(self, verbosity: int = 0) -> Dict:
          "
          Json-serialization dict representation of the Lattice.
  
          Args:
              verbosity (int): Verbosity level. Default of 0 only includes the
                  matrix representation. Set to 1 for more details.
          """
  
          d = {
              "@module": self.__class__.__module__,
              "@class": self.__class__.__name__,
              "matrix": self._matrix.tolist(),
          }
          (a, b, c), (alpha, beta, gamma) = self.lengths_and_angles
          if verbosity > 0:
              d.update(
                  {
                      "a": a,
                      "b": b,
                      "c": c,
                      "alpha": alpha,
                      "beta": beta,
                      "gamma": gamma,
                      "volume": self.volume,
                  }
              )
  
          return d
docs: Json-serialization dict representation of the Lattice.
  
          Args:
              verbosity (int): Verbosity level. Default of 0 only includes the
                  matrix representation. Set to 1 for more details.