public interface CyJSONUtil
Modifier and Type | Method and Description |
---|---|
String |
cyColumnsToJson(Collection<CyColumn> collection)
Returns a list of references (via column name) for a collection of CyColumn.
|
String |
cyIdentifiablesToJson(Collection<? extends CyIdentifiable> collection)
Returns a list of references (via SUID) for a collection of CyIdentifiable.
|
String |
toJson(CyColumn cyColumn,
boolean includeDefinition,
boolean includeValues)
Returns a JSON representation of CyColumn.
|
String |
toJson(CyIdentifiable cyIdentifiable)
Returns a reference (via SUID) for a CyIdentifiable.
|
String |
toJson(CyNetwork cyNetwork)
Returns a JSON representation of a network and its relevant data.
|
String |
toJson(CyNetwork network,
CyEdge cyEdge,
CyColumn... columns)
Returns a JSON representation of a single CyEdge and its relevant data.
|
String |
toJson(CyNetwork network,
CyNode cyNode,
CyColumn... columns)
Returns a JSON representation of a single CyNode and its relevant data.
|
String |
toJson(CyRow cyRow,
CyColumn... columns)
Returns a JSON representation of a table row.
|
String |
toJson(CyTable cyTable,
boolean includeDefinition,
boolean includeRows)
Returns a JSON representation of a CyTable.
|
String toJson(CyIdentifiable cyIdentifiable)
cyIdentifiable
- String cyIdentifiablesToJson(Collection<? extends CyIdentifiable> collection)
collection
- String toJson(CyNetwork network, CyNode cyNode, CyColumn... columns)
network
- cyNode
- columns
- The columns to be included in the output. If none are passed, return all.String toJson(CyNetwork network, CyEdge cyEdge, CyColumn... columns)
network
- cyEdge
- columns
- The columns to be included in the output. If none are passed, return all.String toJson(CyNetwork cyNetwork)
cyNetwork
- String toJson(CyTable cyTable, boolean includeDefinition, boolean includeRows)
cyTable
- includeDefinition
- defines whether or not to include definitions like table name in the output.includeRows
- defines whether or not to include the table's row data in the output.String cyColumnsToJson(Collection<CyColumn> collection)
collection
- String toJson(CyColumn cyColumn, boolean includeDefinition, boolean includeValues)
cyColumn
- includeDefinition
- defines whether or not to include definitions like column name in the output.includeValues
- defines whether or not to include the column's data in the output.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.