Skip to content

JSONNucleoReader

Introduction

vtkJSONNucleoReader reader.

Methods

extend

Method used to decorate a given object (publicAPI+model) with vtkJSONNucleoReader characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIJSONNucleoReaderInitialValuesNo(default: {})

getBaseURL

getDataAccessHelper

getUrl

Get the url of the object to load.

loadData

Load the object data.

ArgumentTypeRequiredDescription
optionsIJSONNucleoReaderOptionsNo

newInstance

Method used to create a new instance of vtkJSONNucleoReader

ArgumentTypeRequiredDescription
initialValuesIJSONNucleoReaderInitialValuesNofor pre-setting some of its content

parseAsText

Parse data as text.

ArgumentTypeRequiredDescription
jsonAsTxtStringYesThe content to parse.

requestData

ArgumentTypeRequiredDescription
inDataYes
outDataYes

setDataAccessHelper

ArgumentTypeRequiredDescription
dataAccessHelperYes

setUrl

Set the url of the object to load.

ArgumentTypeRequiredDescription
urlStringYesthe url of the object to load.
optionIJSONNucleoReaderOptionsNoThe JSONNucleo reader options.