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.
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.