{"id":55881,"library":"protostuff-runtime","title":"Protostuff Runtime","description":"A serialization library that uses Protocol Buffers to serialize pre-existing Java objects without requiring a schema definition.","status":"active","version":"1.8.0","language":"java","source_language":null,"source_url":"https://github.com/protostuff/protostuff","tags":["serialization","protobuf","java"],"install":[{"cmd":"<dependency>\n  <groupId>io.protostuff</groupId>\n  <artifactId>protostuff-runtime</artifactId>\n  <version>1.8.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'io.protostuff:protostuff-runtime:1.8.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ProtobufIOUtil","correct":"io.protostuff.ProtobufIOUtil"}],"quickstart":{"code":"import io.protostuff.ProtobufIOUtil;\nimport io.protostuff.Schema;\nimport io.protostuff.runtime.RuntimeSchema;\n\npublic class Example {\n    public static void main(String[] args) {\n        MyObject obj = new MyObject();\n        Schema<MyObject> schema = RuntimeSchema.getSchema(MyObject.class);\n        byte[] bytes = ProtobufIOUtil.toByteArray(obj, schema, schema.newBuffer());\n        MyObject parsed = schema.newMessage();\n        ProtobufIOUtil.mergeFrom(bytes, parsed, schema);\n    }\n}","lang":"java","description":"Serializes and deserializes a Java object using Protostuff runtime schema."},"warnings":[],"env_vars":null,"search_vec":"'buffer':9 'definit':21 'exist':14 'java':15,24 'librari':5 'object':16 'pre':13 'pre-exist':12 'protobuf':23 'protocol':8 'protostuff':1 'requir':18 'runtim':2 'schema':20 'serial':4,11,22 'use':7 'without':17","created_at":"2026-06-15T10:11:53.386310+00:00","updated_at":"2026-06-15T10:11:53.386310+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://protostuff.github.io","github":"https://github.com/protostuff/protostuff","docs":"https://appdoc.app/artifact/io.protostuff/protostuff-runtime/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}