Convert EChartsOption to JSON
Arguments
- x
EChartsOption: Option object to serialize.
- pretty
Logical: Whether to pretty-print the JSON.
- auto_unbox
Logical: Whether to auto-unbox single-element vectors.
- ...
Dots: Additional arguments passed to
jsonlite::toJSON().
Examples
to_json(EChartsOption(title = Title(text = "Weekly sessions")))#> {"title":{"text":"Weekly sessions"}}