public class BStreamingJSON extends BRefValueArray
BStreamingJSON
represent a JSON array generated from a JSONDataSource
.arrayType, maxArraySize, size
Constructor and Description |
---|
BStreamingJSON(JSONDataSource datasource) |
Modifier and Type | Method and Description |
---|---|
void |
add(long index,
BRefType<?> value) |
BRefType<?> |
get(long index) |
BRefType<?>[] |
getValues() |
void |
serialize(OutputStream outputStream)
Default serialize implementation for
BValue . |
String |
stringValue() |
append, copy, getBValue, getType, grow, toString
ensureCapacity, newArrayInstance, newIterator, prepareForAdd, rangeCheck, rangeCheckForGet, resetSize, size, value
public BStreamingJSON(JSONDataSource datasource)
public void add(long index, BRefType<?> value)
add
in class BRefValueArray
public BRefType<?> get(long index)
get
in class BRefValueArray
public void serialize(OutputStream outputStream)
BValue
BValue
.outputStream
- Represent the output stream that the data will be written to.public BRefType<?>[] getValues()
getValues
in class BRefValueArray
public String stringValue()
stringValue
in interface BValue
stringValue
in class BRefValueArray
Copyright © 2018 WSO2. All rights reserved.