Here is an example where a json gets uploaded and then is used to create a plotly figure object.
json
plotly