fromJSONCat {catSurv}R Documentation

Convert JSON object to Cat object

Description

This function object of class Cat.

Usage

## S4 method for signature 'json'
fromJSONCat(jsonObj)

## S4 method for signature 'character'
fromJSONCat(jsonObj)

Arguments

jsonObj

A json object with elements matching Cat object slots

Details

The jsonObj argument of the function fromJSONCat is an object of class json from the rjson package. This function simply populates a Cat object with the information provided in the jsonObj, thus element and slot names must match.

Value

The function fromJSONCat returns an object of class Cat with slots populated with the corresponding information stored in the jsonObj.

See Cat-class for required Cat object slots.

Author(s)

Haley Acevedo, Ryden Butler, Josh W. Cutler, Matt Malis, Jacob M. Montgomery, Tom Wilkinson, Erin Rossiter, Min Hee Seo, Alex Weil

See Also

Cat-class


[Package catSurv version 1.5.0 Index]