public interface JSONDataSource
Modifier and Type | Method and Description |
---|---|
void |
serialize(JsonGenerator gen)
Serializes the current representation of the JSON data source to the given
JSONDataSource . |
void serialize(JsonGenerator gen) throws IOException
JSONDataSource
.gen
- The JsonGenerator
object to write the data toIOException
- Error occurs while serializingCopyright © 2018 WSO2. All rights reserved.