Defined in lib/src/parse.ts:15
Properties
Private
parsed Resources
Defined in lib/src/parse.ts:16
Methods
parse Array
parse Array( jsonArray: unknown [] ) : [ resourcesInArray: Resource < any > [] , allParsedResources: Resource < any > [] ]
Returns [ resourcesInArray: Resource < any > [] , allParsedResources: Resource < any > [] ]
Defined in lib/src/parse.ts:38
Private
parse JsonADArray
parse JsonADArray( jsonArray: unknown [] ) : Resource < any > []
Defined in lib/src/parse.ts:152
Private
parse JsonADResource
parse JsonADResource( object: JSONObject , resourceSubject?: string ) : Resource < any >
Parameters
resourceSubject: string = unknownSubject
Defined in lib/src/parse.ts:57
Private
parse Json Ad Resource Value
parse Object
parse Object( jsonObject: JSONObject , resourceSubject?: string ) : [ parsedRootResource: Resource < any > , allParsedResources: Resource < any > [] ]
Parameters
Optional
resourceSubject: string
Returns [ parsedRootResource: Resource < any > , allParsedResources: Resource < any > [] ]
Defined in lib/src/parse.ts:21
Parses an array of JSON-AD objects containing resources. Returns a list of the resources in the array and a list of all the resources that were found including sub-resources.