model_json: Serialise a model specification to JSON

View source: R/model_layer.R

model_jsonR Documentation

Serialise a model specification to JSON

Description

Serialise a model specification to JSON

Usage

model_json(model, pretty = TRUE)

Arguments

model

An sf_model() object.

pretty

Logical. Whether to pretty-print the JSON.

Value

A JSON string.


surveyframe documentation built on July 25, 2026, 1:07 a.m.