Git Product home page Git Product logo

protobuftextserializer's Introduction

ProtobufTextSerializer

存在理由

protobuf-net本身不支持Protobuf官方的文本格式(简称PBT格式)

PBT格式比Json更简单, 且支持注释, 是一种良好的配置文件格式

本库支持PBT格式的序列化

特性支持

  • 不依赖protobuf-net

  • 文本输出支持单行/多行

  • 序列化的标准仅限于public属性及List<>列表

  • repeated字段只支持字段重复读取, 不支持<>标示及[]标示的数组队列

  • 转义符只支持\r \n的常见转换

库依赖

https://github.com/davyxu/SharpLexer

链接

备注

感觉不错请star, 谢谢!

知乎: http://www.zhihu.com/people/sunicdavy

protobuftextserializer's People

Contributors

davyxu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.