% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/json_interface.R
\name{mapJSONPropertiesToS4Slots}
\alias{mapJSONPropertiesToS4Slots}
\title{Map JSON properties to S4 slots.}
\usage{
mapJSONPropertiesToS4Slots(object, json, discard_type = TRUE)
}
\arguments{
\item{object}{S4 object}

\item{json}{JSON element, json_element class}

\item{discard_type}{discard JSON property 'type'}
}
\value{
a S4 object
}
\description{
Map JSON properties to S4 slots.
}
