GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing cpp.libhunt.com — LeapSerial Alternatives - C++ Serialization | LibHunt LeapSerialThe Leap Motion cross-format, cross-platform declarative serialization library
Take the C++ Developer Survey
- About 6 minutes on the tools, libraries and AI you use with C++. You get the results by email.
Take the survey »
Popularity
2.5
Stable
Activity
0.0
Stable
Stars
18
Watchers
43
Forks
7
Last Commit
Description
LeapSerial is a cross-format, declarative, serialization and deserialization library written and maintained by Leap Motion. This library is built with CMake, and makes heavy use of C++11.
Code Quality Rank:
L4
Programming language: C++
License: Apache License 2.0
Latest version: v0.5.2
LeapSerial alternatives and similar libraries
Based on the "Serialization" category.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Promo
www.saashub.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
Do you think we are missing an alternative of LeapSerial or a related project? READMEIntroduction to LeapSerialLeapSerial is a cross-format, declarative, serialization and deserialization library written and maintained by Leap Motion. This library is built with CMake, and makes heavy use of C++11. LeapSerial is mainly intended to provide users with a way to describe how their types should be serialized without being too concerned about the wire format serialization should take. Users should be able to directly annotate and serialize/deserialize their business objects rather than having to convert to and from DTOs generated by tools like The following four output formats are currently supported:
LeapSerial also provides a simple stream concept, some wrapper classes, and a few standard implementations. These streams may be composed with one another similarly to how it's done with Protobuf streams.
Users may also write their own. Quick StartHere's how you mark the fields to be serialized:
Serialization one-liner:
Deserialization is also a one-liner:
If your type doesn't use native pointers (either directly or transitively), you can also deserialize in-place.
Alternative ArchiversLeapSerial has a few output formats that are well supported. The
ProtobufProtobuf serialization can be done with
The resulting object can be parsed by Protobuf, if you have a schema for
This is what you get:
Right now, JSONJSON serialization is also supported. The protov3 specification's JSON mapping is used wherever possible. Currently, deserialization is not supported, but there is a
Here's the resulting JSON:
Alternative StreamsYou can also serialize to a memory buffer, if you don't like
Maybe you have a buffer already that you want to deserialize
Encryption and compression are supported, too. Encrypting and compressing streams are declared as a filter. Protobuf's zero copy streams are similarly implemented. Here's how you might encrypt a file directly to disk with an
If you use encryption and compression, make sure the compression step happens before the encryption step, otherwise you will wind up making the file size larger. Do not miss the trending, libraries, news and articles with our weekly report.
Spin The Wheel Of Names
for a cryptographically secure random name picker.
Schedule a when to meet poll. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |