David Yu

Results 66 comments of David Yu

You register a [delegate](https://protostuff.github.io/docs/protostuff-runtime/delegate/) for `com.google.protobuf.Int32Value`

@mbosecke Why isn't this merged?

I figured out what caused the crash. The nodes.conf seems to be corrupted. Here's the contents: ``` fe1f8af12acb582b0680185bf5047721804f849a 192.168.1.20:7100 noflags 0 1460717777762 connected e0696155971d348a26923f2ef3cadcf453e43cbf 192.168.1.21:7100 myself 0 0 connected 6a2d9536f7fab19a7eed3ff261aa9469ae2511d9...

Protostuff works on user-defined types (pojos), not on built-in jdk types. Something like this would work. ```java class Pojo { BigDecimal bd; } ```

```java @Data @AllArgsConstructor class FooV1 { @Tag(1) private Padding state1; @Deprecated //

```java final class Wrapper { public Object obj; } Schema schema = RuntimeSchema.getSchema(Wrapper.class); Wrapper w = new Wrapper(); w.obj = your_list_or_map_or_anything; byte[] data = ProtostuffIOUtil.toByteArray(w, schema, linkedBuffer); ``` Anything passed...

That is because the type metadata is also serialized. The advantage is that it is generic. Most of the libraries using protostuff-runtime do it this way (no ahead-of-time knowledge of...

Use ```GraphIOUtil``` instead of ```ProtostuffIOUtil``` for data with circular references

@kshchepanovskyi No plans on my end. But if you are willing to support it, feel free to do so.

On Wed, Feb 24, 2021 at 10:53 AM lmlsky wrote: > when I use protostuff serialize ,the Deprecated field can't deserialize > > the vo like this ,field mail can't...