index.ts

Interface

IWingsStruct

toJsonKey

Converts given variable names into their predefined JSON key (in the original .struct / .enum file).

Argument Type Description
key string Variable name to be converted into JSON key.

Class

WingsStructUtil

Note: All functions are static functions.

isIWingsStruct: arg is IWingsStruct

Returns if the object provided in arg is an IWingsStruct.

Argument Type Description
arg any Object to be tested.

stringify: string

Returns a JSON in string format of the given object in obj .

Argument Type Description
obj any Object to be stringified.