doubledutch / StroomData

Stroom Data is a simple and approachable framework for processing streams of data.
Apache License 2.0
8 stars 4 forks source link

LocalStreamConnection double serializes #1

Open kasperjj opened 8 years ago

kasperjj commented 8 years ago

The localstream connection class converts string data into jsonobject objects to validate the json in the append methods. This is fine (though we might want to use a faster validator), but the overloaded method that already takes a jsonobject instance calls the string based method and thus serializes twice... switch the two around so the jsonobject version of append is the jsonobject version.