Skip to content
Prev Previous commit
Revert toJSON functionality for ServerTemplate
  • Loading branch information
trekforever committed Apr 3, 2024
commit c7d4c6c297d4e2dfb9c73a33dd5e22fe714c9093
8 changes: 0 additions & 8 deletions src/remote-config/remote-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,6 @@ class ServerTemplateImpl implements ServerTemplate {
return new Proxy(mergedConfig, proxyHandler);
}

/**
* Convenient method that returns the JSON string of the cached template data
* @returns A JSON-string of this object.
*/
public toJSON(): string {
return JSON.stringify(this.cache);
}

/**
* Private helper method that coerces a parameter value string to the {@link ParameterValueType}.
*/
Expand Down