> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QSH Json Parser

**Header:** `utils/inc/qshJsonParser.h`

## Structures

### `qshJsonParser`

#### Functions

##### `qshJsonParser`

```cpp theme={null}
 qshJsonParser()
```

##### `~qshJsonParser`

```cpp theme={null}
 ~qshJsonParser()
```

##### `loadFile`

```cpp theme={null}
int loadFile(const char *path)
```

##### `getHubIdList`

```cpp theme={null}
std::vector< int > getHubIdList()
```

##### `getHubId`

```cpp theme={null}
int getHubId(std::string hubName)
```

##### `getCommHandleAttrs`

```cpp theme={null}
int getCommHandleAttrs(int hubID)
```

##### `getCommType`

```cpp theme={null}
int getCommType(int hubID)
```

##### `getHubName`

```cpp theme={null}
std::string getHubName(int hubID)
```

##### `isFileParsed`

```cpp theme={null}
bool isFileParsed()
```

##### `getInstance`

get handle to qshJsonParser get\_instance

```cpp theme={null}
qshJsonParser & getInstance()
```

**Returns**

parser\_instance&
