encode.datanode {AnalysisPageServer} | R Documentation

## JSON-Encode an AnalysisPageDataNode for the front end

### Description

JSON-Encode an AnalysisPageDataNode for the front end. This just calls `toJSON`, but before doing so it makes sure that `$warnings` will be sent as an array.

### Usage

    encode.datanode(datanode)

### Arguments

`datanode` | AnalysisPageDataNode or other object

### Details

Mostly this function is only called once, from the `$analysis` method of an `AnalysisPageRAapacheApp`.

### Value

JSON-encoded string

### Author(s)

Brad Friedman

[Package AnalysisPageServer version 1.14.0 Index]