public final class StructuredRecordJsonConverter extends Object
StructuredRecord to and from json as the json
specification : http://avro.apache.org/docs/current/spec.html#json_encoding| Modifier and Type | Method and Description |
|---|---|
static String |
toJsonString(io.cdap.cdap.api.data.format.StructuredRecord record)
Converts a
StructuredRecord to a json string. |
public static String toJsonString(io.cdap.cdap.api.data.format.StructuredRecord record) throws IOException
StructuredRecord to a json string.IOExceptionCopyright © 2021 CDAP Licensed under the Apache License, Version 2.0.