Skip to content

Commit

Permalink
remove SN JSON reference to force ES5 JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Godfrey committed Jul 23, 2016
1 parent 80f9154 commit f27f56f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions server/scoped-helsinki/servicenowserver.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ declare module sn {
Class: sn.Server.IClass;
AbstractAjaxProcessor: sn.Server.IGlideAjax;
GlideStringUtil: sn.Server.IGlideStringUtil;
JSON: sn.Server.IJSON;
JSUtil: sn.Server.IJSUtil;
}

Expand All @@ -554,15 +553,6 @@ declare module sn {
debugOn(): boolean;
}

export interface IJSON {
new (): IJSON;
encode(obj: any): string;
decode<T>(jsonStr: string): T;
parse<T>(jsonStr: string): T;
stringify(obj: any): string;
parse<T>(json: string): T;
}

// http://wiki.servicenow.com/index.php?title=JSUtil
export interface IJSUtil {
describeObject(obj: any, name: string): any;
Expand Down

0 comments on commit f27f56f

Please sign in to comment.