Manual Reference Source Test
public class | source

ServiceFactory

Factory to convert responses to services

Static Member Summary

Static Public Members
public static get
public static get

options: *

Method Summary

Public Methods
public

Convert the json to the appropriate class (deserialize)

public

getObjectName(type: *): *

Static Public Members

public static get map: Object source

public static get options: * source

Public Methods

public get(type: String): Promise<Object> source

Convert the json to the appropriate class (deserialize)

Params:

NameTypeAttributeDescription
type String

The type to convert the object to (otherwise use json's data type)

Return:

Promise<Object>

Returns an object with the appropriate type

public getObjectName(type: *): * source

Params:

NameTypeAttributeDescription
type *

Return:

*