Reference Source
public class | source

JsonProvider

Json providier class.

Constructor Summary

Public Constructor
public abstract

constructor(arg_settings: object): nothing

Create a Json Provider instance.

Member Summary

Public Members
public
public

source: *

Method Summary

Public Methods
public

Provide JSON datas.

public abstract

provide_json_self(resolve: function, reject: function): nothing

Provide JSON datas inside a promise

Public Constructors

public abstract constructor(arg_settings: object): nothing source

Create a Json Provider instance.

Params:

NameTypeAttributeDescription
arg_settings object

provider settings.

Return:

nothing

Public Members

public $settings: * source

public source: * source

Public Methods

public provide_json(): object source

Provide JSON datas.

Return:

object

JSON datas Promise

public abstract provide_json_self(resolve: function, reject: function): nothing source

Provide JSON datas inside a promise

Params:

NameTypeAttributeDescription
resolve function

a promise should be resolved.

reject function

a promise should be rejected.

Return:

nothing