mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 23:48:01 -05:00
Remove remaining RJSONIO references
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
writeReactLog <- function(file=stdout()) {
|
||||
cat(RJSONIO::toJSON(.graphStack$as_list(), pretty=TRUE), file=file)
|
||||
cat(toJSON(.graphStack$as_list(), pretty=TRUE), file=file)
|
||||
}
|
||||
|
||||
#' Reactive Log Visualizer
|
||||
|
||||
@@ -9,7 +9,7 @@ inputHandlers <- Map$new()
|
||||
#'
|
||||
#' Adds an input handler for data of this type. When called, Shiny will use the
|
||||
#' function provided to refine the data passed back from the client (after being
|
||||
#' deserialized by RJSONIO) before making it available in the \code{input}
|
||||
#' deserialized by jsonlite) before making it available in the \code{input}
|
||||
#' variable of the \code{server.R} file.
|
||||
#'
|
||||
#' This function will register the handler for the duration of the R process
|
||||
@@ -31,7 +31,7 @@ inputHandlers <- Map$new()
|
||||
#' parameters:
|
||||
#' \enumerate{
|
||||
#' \item{The value of this input as provided by the client, deserialized
|
||||
#' using RJSONIO.}
|
||||
#' using jsonlite.}
|
||||
#' \item{The \code{shinysession} in which the input exists.}
|
||||
#' \item{The name of the input.}
|
||||
#' }
|
||||
@@ -64,7 +64,7 @@ registerInputHandler <- function(type, fun, force=FALSE){
|
||||
#' Deregister an Input Handler
|
||||
#'
|
||||
#' Removes an Input Handler. Rather than using the previously specified handler
|
||||
#' for data of this type, the default RJSONIO serialization will be used.
|
||||
#' for data of this type, the default jsonlite serialization will be used.
|
||||
#'
|
||||
#' @param type The type for which handlers should be removed.
|
||||
#' @return The handler previously associated with this \code{type}, if one
|
||||
|
||||
@@ -200,7 +200,7 @@ workerId <- local({
|
||||
#' \item{sendCustomMessage(type, message)}{
|
||||
#' Sends a custom message to the web page. \code{type} must be a
|
||||
#' single-element character vector giving the type of message, while
|
||||
#' \code{message} can be any RJSONIO-encodable value. Custom messages
|
||||
#' \code{message} can be any jsonlite-encodable value. Custom messages
|
||||
#' have no meaning to Shiny itself; they are used soley to convey information
|
||||
#' to custom JavaScript logic in the browser. You can do this by adding
|
||||
#' JavaScript code to the browser that calls
|
||||
|
||||
@@ -16,7 +16,7 @@ parse the data delivered from the client before it is available in the
|
||||
parameters:
|
||||
\enumerate{
|
||||
\item{The value of this input as provided by the client, deserialized
|
||||
using RJSONIO.}
|
||||
using jsonlite.}
|
||||
\item{The \code{shinysession} in which the input exists.}
|
||||
\item{The name of the input.}
|
||||
}}
|
||||
@@ -28,7 +28,7 @@ a handler defined.}
|
||||
\description{
|
||||
Adds an input handler for data of this type. When called, Shiny will use the
|
||||
function provided to refine the data passed back from the client (after being
|
||||
deserialized by RJSONIO) before making it available in the \code{input}
|
||||
deserialized by jsonlite) before making it available in the \code{input}
|
||||
variable of the \code{server.R} file.
|
||||
}
|
||||
\details{
|
||||
|
||||
@@ -15,7 +15,7 @@ The handler previously associated with this \code{type}, if one
|
||||
}
|
||||
\description{
|
||||
Removes an Input Handler. Rather than using the previously specified handler
|
||||
for data of this type, the default RJSONIO serialization will be used.
|
||||
for data of this type, the default jsonlite serialization will be used.
|
||||
}
|
||||
\seealso{
|
||||
\code{\link{registerInputHandler}}
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
\item{sendCustomMessage(type, message)}{
|
||||
Sends a custom message to the web page. \code{type} must be a
|
||||
single-element character vector giving the type of message, while
|
||||
\code{message} can be any RJSONIO-encodable value. Custom messages
|
||||
\code{message} can be any jsonlite-encodable value. Custom messages
|
||||
have no meaning to Shiny itself; they are used soley to convey information
|
||||
to custom JavaScript logic in the browser. You can do this by adding
|
||||
JavaScript code to the browser that calls
|
||||
|
||||
Reference in New Issue
Block a user