The Wayback Machine - http://web.archive.org/web/20200705012807/https://github.com/topics/serialization
Skip to content
#

serialization

Here are 1,487 public repositories matching this topic...

jjn555
jjn555 commented Mar 2, 2020

I have this schema I want to implement but I am finding it very difficult to find documentation to perform the serialization and deserialization for C++. The existing tutorial and documentation do not seem to describe this scenario which I am assuming is quite common. Can someone point me to any example or documentation that describes this?

tb.fbs:

namespace TB;

table Proj {
idx:int64

zachelrath
zachelrath commented Jul 9, 2019

Currently, when SortMapKeys is set to true in Config, map keys are sorted using a standard alphanumeric sort. It should be possible to specify a custom map key sorting function to use, in order to prioritize certain map keys over others.

Example: Standard SortMapKeys behavior:

cfg := jsoniter.Config{
   SortMapKeys: true,
}.Froze()

m := map[string]int{
   "beta": 2,
   "alp
psverkada
psverkada commented Jan 14, 2020

The fact that exclude takes dotted notation for nested fields, but unknown does not apply to nested fields, means that exclude doesn't work for nested fields in some common use cases unless the nested schema(s) have the desired Meta.unknown setting, and then they are not runtime-flexible, which is the great benefit of Schema and load taking exclude. Somewhat new to marshmallow so mayb

breznak
breznak commented Oct 24, 2019

I see this project has hard-coded (copied) external source-files for dependencies.
I'd like to ask for documentation improvement on this topic:

  • which repo the come from, URL
  • what version/commit is being used?

And if possible, it would be great to see these updated (or replaced with actively developed forks/alternatives):

  • rapidjson:
    • does have a problem with releases l
tetraptych
tetraptych commented Nov 11, 2017

DateType and DateTimeType and subclasses use datetime.datetime.strptime, which in turn uses the dateutil library. Unfortunately, this library is much slower at ISO8601 date parsing than C-based alternatives (in particular, ciso8601):

import datetime
import ciso8601
%timeit datetime.datetime.strptime('2018-01-01', '%Y-%m-%d')
# 10.5 µs ± 440 ns per loop (mean ± std. dev. of 7 r

Improve this page

Add a description, image, and links to the serialization topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the serialization topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.