create simple reusable functions for previewing strings:
preview_json_string, preview_yaml_string, preview_vega_json, preview_vegalite_json, preview_text_string
this allows these functions to be used independently of the getbytes function which retrieves data from: path, request or callable
create simple reusable functions for previewing strings:
preview_json_string
,preview_yaml_string
,preview_vega_json
,preview_vegalite_json
,preview_text_string
this allows these functions to be used independently of thegetbytes
function which retrieves data from: path, request or callable