Skip to content
/ rcdata Public

Parser & serializer library. Mirrored from Gitea.

Notifications You must be signed in to change notification settings

ArthaTi/rcdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rcdata

rcdata is a small collection of parsers and serializers.

json

rcdata.json is a simple JSON pull parser written according to RFC.

Why another?

  • It's a pull parser, making it more flexible.
  • Reasonably quick, should be faster than std.json, but probably won't reach world records.
  • Range-based and lazy.
  • Boost licensed.
  • May eventually implement serialization in a similar fashion.

bin

rcserial.bin is a serializer and pull parser for a custom binary format. The format is meant to be simple, so it might lack features. It does not store field names or type information.

As a feature, it can do both serialization and parsing with the same code.

TODOs

  • Make the API consistent between libraries, reuse methods for eg. struct serialization.
  • Move JSONExclude to a shared module and rename it to RCExclude or so.