Convert any trelliscope R6 object to JSON
Arguments
- trdf
A trelliscope data frame created with
as_trelliscope_df()
or a data frame which will be cast as such.- pretty
Adds indentation whitespace to JSON output. Can be TRUE/FALSE or a number specifying the number of spaces to indent.