nameveris.recurs: Return a dense list of only the VERIS variables and values in...

View source: R/verisr.R

nameveris.recursR Documentation

Return a dense list of only the VERIS variables and values in the JSON.

Description

Given an incident in json format, it will process the file and return a simple list object where each element is named with the field name and the value is the value read in, or True if the field is an enumeration.

Usage

nameveris.recurs(json, vtype, cur = NULL, outlist = list())

Arguments

json

the json object from reading in a file.

vtype

the vtype ojbect from parseProps()

cur

the current field name as it is being built

outlist

the return value being passed internally


vz-risk/verisr documentation built on Aug. 5, 2023, 4:34 a.m.