avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject space " " produced in jsonencoder ?
Date Tue, 04 Oct 2011 17:57:18 GMT
if I do

writer = new SpecificDatumWriter<SpecificRecord>(schema);
encoder = EncoderFactory.get().jsonEncoder(schema, ostream);

writer.write(my_specific_record, encoder);
writer.write(my_specific_record.encoder);


it adds a space " " between the 2 records, I guess for separation.
is it possible to remove that? or changing that to "\n" is much better


Thanks
Yang

Mime
View raw message