Deserialise odin's intermediate model representation from a json
string into an R object. Unlike the json, there is no schema for
this representation. This function provides access to the same
deserialisation that odin uses internally so may be useful in
applications.
# Parse a model of exponential decayir <- odin::odin_parse({
deriv(y) <- -0.5 * y
initial(y) <- 1})
# Convert the representation to an R objectodin::odin_ir_deserialise(ir)