|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.stream.json.JsonWriterSupport
org.beanio.stream.json.JsonRecordMarshaller
public class JsonRecordMarshaller
A RecordMarshaller implementation for JSON formatted records.
JsonRecordParserFactory| Constructor Summary | |
|---|---|
JsonRecordMarshaller()
Constructs a new JsonRecordMarshaller. |
|
JsonRecordMarshaller(JsonParserConfiguration config)
Constructs a new JsonRecordMarshaller. |
|
| Method Summary | |
|---|---|
String |
marshal(Map<String,Object> map)
Marshals a single JSON object. |
String |
marshal(Object record)
Marshals a single record object to a String. |
| Methods inherited from class org.beanio.stream.json.JsonWriterSupport |
|---|
getIndent, getLineSeparator, init, isPretty, write, writeArray, writeString, writeValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonRecordMarshaller()
public JsonRecordMarshaller(JsonParserConfiguration config)
config - the JsonParserConfiguration| Method Detail |
|---|
public String marshal(Object record)
RecordMarshaller
marshal in interface RecordMarshallerrecord - the record object to marshal
public String marshal(Map<String,Object> map)
map - the JSON object to marshal
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||