All Projects → Loki-Astari → Thorsserializer

Loki-Astari / Thorsserializer

Licence: other
C++ Serialization library for JSON

Projects that are alternatives of or similar to Thorsserializer

Eminim
JSON serialization framework for Nim, works from a Stream directly to any type and back. Depends only on stdlib.
Stars: ✭ 32 (-86.72%)
Mutual labels:  json, serialization-library, serialization, json-serialization
JsonFormatter
Easy, Fast and Lightweight Json Formatter. (Serializer and Deserializer)
Stars: ✭ 26 (-89.21%)
Mutual labels:  serialization, json-serialization, json-parser, serialization-library
Fastjson
A fast JSON parser/generator for Java.
Stars: ✭ 23,997 (+9857.26%)
Mutual labels:  json, serialization, json-parser, json-serialization
Srsly
🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
Stars: ✭ 189 (-21.58%)
Mutual labels:  json, yaml, serialization
Dictfier
Python library to convert/serialize class instances(Objects) both flat and nested into a dictionary data structure. It's very useful in converting Python Objects into JSON format
Stars: ✭ 67 (-72.2%)
Mutual labels:  json, serialization, json-parser
Mir Ion
WIP, use libmir/asdf package for now
Stars: ✭ 78 (-67.63%)
Mutual labels:  json, json-parser, json-serialization
Json
JSON for Modern C++
Stars: ✭ 27,824 (+11445.23%)
Mutual labels:  json, json-parser, json-serialization
Chronicle Wire
A Java Serialisation Library that supports multiple formats
Stars: ✭ 204 (-15.35%)
Mutual labels:  json, yaml, serialization
Waargonaut
JSON decoding/encoding/manipulation library.
Stars: ✭ 82 (-65.98%)
Mutual labels:  json, json-parser, json-serialization
Java
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
Stars: ✭ 1,308 (+442.74%)
Mutual labels:  json, serialization, json-parser
Spotify Json
Fast and nice to use C++ JSON library.
Stars: ✭ 145 (-39.83%)
Mutual labels:  json, json-parser, json-serialization
Json
Lighter and Faster Json Serialization tool.
Stars: ✭ 128 (-46.89%)
Mutual labels:  json, serialization-library, serialization
Json Dry
🌞 JSON-dry allows you to serialize & revive objects containing circular references, dates, regexes, class instances,...
Stars: ✭ 214 (-11.2%)
Mutual labels:  json, json-parser, json-serialization
Jsondoc
JSON object for Delphi based on IUnknown and Variant
Stars: ✭ 20 (-91.7%)
Mutual labels:  json, json-parser, json-serialization
Rapidyaml
Rapid YAML - a library to parse and emit YAML, and do it fast.
Stars: ✭ 183 (-24.07%)
Mutual labels:  json, yaml, serialization
Spray Json
A lightweight, clean and simple JSON implementation in Scala
Stars: ✭ 917 (+280.5%)
Mutual labels:  json, json-parser, json-serialization
Go
A high-performance 100% compatible drop-in replacement of "encoding/json"
Stars: ✭ 10,248 (+4152.28%)
Mutual labels:  json, serialization, json-parser
Flatcc
FlatBuffers Compiler and Library in C for C
Stars: ✭ 434 (+80.08%)
Mutual labels:  json, serialization, json-parser
Jsons
🐍 A Python lib for (de)serializing Python objects to/from JSON
Stars: ✭ 178 (-26.14%)
Mutual labels:  json, serialization, json-parser
Datafiles
A file-based ORM for Python dataclasses.
Stars: ✭ 113 (-53.11%)
Mutual labels:  json, yaml, serialization

ThorsSerializer

Support for

Build Status codecov.io
Code Review Code Review Code Review Code Review

Benchmark Results

Conformance mac linux
Performance max linux
For details see: JsonBenchmark

ThorStream

Yet another JSON/YAML/BSON serialization library for C++.

Unlike other libraries this one does not require you to build DOM of you object before serialization. Using a declarative C++ style you define what C++ classes (and members) you want to serialize "ThorSerializer" will generate the appropriate code automagically.

HomeBrew

Can be installed via brew on Mac and Linux

brew install thors-serializer

Header Only

To install header only version

git clone --single-branch --branch header-only https://github.com/Loki-Astari/ThorsSerializer.git

Version 2

I have deprecated the jsonImport() and jsonExport() functions. These have been replaced with jsonImporter() and jsonExporter() functions (though the original versions still exist but are marked [[deprecated]]). The main difference is that the new functions catch exceptions (by default) this makes the serialization work like normal C++ serialization and simply set the bad bit on the stream.

Contributors

Added the all-contributers bot to generate the table.


One Page

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].