# decodeObj2class

[**utils**](..) • **Docs**

***

[near-sdk-js v2.0.0](../../packages) / [utils](..) / decodeObj2class

## Function: decodeObj2class()

> **decodeObj2class**(`class_instance`, `obj`): `any`

### Parameters

• **class\_instance**: `any`

• **obj**: `any`

### Returns

`any`

### Defined in

[packages/near-sdk-js/src/utils.ts:205](https://github.com/near/near-sdk-js/blob/b58ac04fc6dff2f1120e9098c0cb059493486598/packages/near-sdk-js/src/utils.ts#L205)
