Compile a Capr object to json
compile(object, ...)A Capr object such as a cohort, list of cohorts, or concept set.
Arguments passed on to jsonlite::toJSON (e.g. pretty = TRUE).
For the Cohort method, includeConceptSets is also allowed; see
compile,Cohort-method.
The json representation of the Capr object