ebceu4 / protobuf-csharp-port

Automatically exported from code.google.com/p/protobuf-csharp-port
0 stars 0 forks source link

Support for using Json/Xml formats with ICodedInputStream #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Currently the format input readers for xml and json do not allow manually 
reading the start of the root object.  Due to this, you can not keep the format 
hidden from the method/object reading the message.

This comes into play when using the IRpcServerStub's CallMethod API, as well as 
other places.

Required additions:

Both of these readers need the ability to explicitly read the root object 
preamble.  In addition it would be nice to have writers also implement this 
behavior for the same reasons.

Original issue reported on code.google.com by Grig...@gmail.com on 9 Sep 2011 at 1:01

GoogleCodeExporter commented 9 years ago
Sorry there is a lot of files churned here as I was testing the 
publishing/versioning and accidentally committed with the new version.  I've 
reverted the change but it adds a lot of clutter to the change-log.  You should 
get a fairly clear idea of the impact if you stick to the changes on this 
revision:
http://code.google.com/p/protobuf-csharp-port/source/detail?r=c23074a594fa432470
7fb25164efee4bb378d08a&name=issue-24

The real goal here is just being able to do something simple like this:
http://code.google.com/p/protobuf-csharp-port/source/browse/src/ProtocolBuffers.
Serialization/Http/ServiceExtensions.cs?name=issue-24

Fix pending review:
http://code.google.com/p/protobuf-csharp-port/source/list?name=issue-24

Original comment by Grig...@gmail.com on 10 Sep 2011 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by Grig...@gmail.com on 30 Sep 2011 at 3:51