| Package | Description |
|---|---|
| org.ballerinalang.model | |
| org.ballerinalang.model.util | |
| org.ballerinalang.model.values |
| Modifier and Type | Method and Description |
|---|---|
JsonNode |
TableJSONDataSource.JSONObjectGenerator.transform(BTable table)
Converts the current position of the given table to a JSON object.
|
| Modifier and Type | Field and Description |
|---|---|
protected JsonNode |
JsonNode.parentNode |
| Modifier and Type | Method and Description |
|---|---|
JsonNode |
JsonNode.get(int index) |
JsonNode |
JsonNode.get(String name) |
static JsonNode |
JsonParser.parse(InputStream in)
Parses the contents in the given
InputStream and returns a JsonNode. |
static JsonNode |
JsonParser.parse(InputStream in,
String charsetName)
Parses the contents in the given
InputStream and returns a JsonNode. |
static JsonNode |
JsonParser.parse(Reader reader)
|
static JsonNode |
JsonParser.parse(String jsonStr)
Parses the contents in the given string and returns a
JsonNode. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<JsonNode> |
JsonNode.elements() |
Iterator<Map.Entry<String,JsonNode>> |
JsonNode.fields() |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonNode.add(JsonNode arrayElement) |
static BStruct |
JSONUtils.convertJSONNodeToStruct(JsonNode jsonNode,
BStructType structType)
Convert a BJSON to a user defined struct.
|
static String |
JSONUtils.getTypeName(JsonNode jsonValue) |
void |
JsonNode.set(int index,
JsonNode jsonNode) |
void |
JsonNode.set(String name,
JsonNode jsonNode) |
| Modifier and Type | Method and Description |
|---|---|
JsonNode |
BJSON.value()
Get value associated with this
BJSON object. |
| Modifier and Type | Method and Description |
|---|---|
void |
BJSON.setValue(JsonNode value)
Set the value associated with this
BJSON object. |
| Constructor and Description |
|---|
BJSON(JsonNode json)
|
Copyright © 2018 WSO2. All rights reserved.