private static String getServerLocation(ServerLauncher launcher) {
      if (launcher.getServerPort() == null) {
        return launcher.getId();
      }
      if (launcher.getServerBindAddress() == null) {
        return HostUtils.getLocatorId(HostUtils.getLocalHost(), launcher.getServerPort());
      }
      return HostUtils.getServerId(launcher.getServerBindAddress().getCanonicalHostName(),
          launcher.getServerPort());
    }
Unmarshals a ServerState instance from the JSON String.

@param json a JSON String
@return a ServerState value unmarshalled from the JSON String.
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java