# Class JsonUtil

JSON数据表工具

#### Hierarchy

- JsonUtil

- Defined in assets/core/utils/JsonUtil.ts:18

#####
Index

### Constructors

constructor

### Methods

get
load
loadAsync
release

## Constructors

### constructor

- new JsonUtil(): JsonUtil

- #### Returns JsonUtil

## Methods

### `Static` get

- get(name: string): any

- 通知资源名从缓存中获取一个Json数据表

  #### Parameters

  - ##### name: string

    资源名

  #### Returns any

  - Defined in assets/core/utils/JsonUtil.ts:23

### `Static` load

- load(name: string, callback: Function): void

- 通知资源名加载Json数据表

  #### Parameters

  - ##### name: string

    资源名

  - ##### callback: Function

    资源加载完成回调

  #### Returns void

  - Defined in assets/core/utils/JsonUtil.ts:33

### `Static` loadAsync

- loadAsync(name: string): Promise<unknown>

- 异步加载Json数据表

  #### Parameters

  - ##### name: string

    资源名

  #### Returns Promise<unknown>

  - Defined in assets/core/utils/JsonUtil.ts:55

### `Static` release

- release(name: string): void

- 通过指定资源名释放资源

  #### Parameters

  - ##### name: string

    资源名

  #### Returns void

  - Defined in assets/core/utils/JsonUtil.ts:80

Generated using TypeDoc