JSONNucleoReader
Introduction
vtkJSONNucleoReader reader.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkJSONNucleoReader characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IJSONNucleoReaderInitialValues | No | (default: {}) |
getBaseURL
getDataAccessHelper
getUrl
Get the url of the object to load.
loadData
Load the object data.
| Argument | Type | Required | Description |
|---|---|---|---|
options | IJSONNucleoReaderOptions | No |
newInstance
Method used to create a new instance of vtkJSONNucleoReader
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IJSONNucleoReaderInitialValues | No | for pre-setting some of its content |
parseAsText
Parse data as text.
| Argument | Type | Required | Description |
|---|---|---|---|
jsonAsTxt | String | Yes | The content to parse. |
requestData
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
setDataAccessHelper
| Argument | Type | Required | Description |
|---|---|---|---|
dataAccessHelper | Yes |
setUrl
Set the url of the object to load.
| Argument | Type | Required | Description |
|---|---|---|---|
url | String | Yes | the url of the object to load. |
option | IJSONNucleoReaderOptions | No | The JSONNucleo reader options. |