Skip to content

Instantly share code, notes, and snippets.

@sckott
Created November 15, 2013 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sckott/7478126 to your computer and use it in GitHub Desktop.
Save sckott/7478126 to your computer and use it in GitHub Desktop.
require(shiny)
require(RJSONIO)
shinyServer(function(input, output) {
output$jsonoutput <- renderText({
toJSON(list(a = 10, b = 12))
})
})
require(shiny)
shinyUI(bootstrapPage(
mainPanel(
textOutput(outputId="jsonoutput")
)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment