serialization
Here are 1,388 public repositories matching this topic...
FAQ rev
There are grammatical errors in the English FAQ section:
https://github.com/alibaba/fastjson/wiki/FAQ(English-Version)
I propose that these grammatical errors be revised for readability.
Here are some examples below:
5. fastjson v.s. gson?
fastjson is 6 times faster than gson, here is the testing result: https://github.com/eishay/jvm-serializers/wiki/Staging-Results
fastjson is 6 tim
Here is some general documentation improvement suggestion regarding flatbuffers. This is what I remember struggling with (from the top of my head). Also some point might be a little bit opinionated.
Some of the points were taken from #5387.
- Regarding the builder:
- The fact that its kinda like an arena allocator used for serialization.
- The concept of offsets, what do they repre
Just saying. Including the legacy script or the everything script, and store is undefined.
RequireJS can't find it without explicitly specifying the context, unless you happen to throw the project in the root of your website which would be highly strange.
I've spent 30 minutes just trying to figure out how to use this damn thing. Incredibly frustrating.
Wish I could say it was a bree
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
Hey in the documentation:
https://protobufjs.github.io/protobuf.js/
the Buffer class is 404:
https://protobufjs.github.io/protobuf.js/Buffer.html
though it is being linked to in some other classes, e.g. BufferReader
https://protobufjs.github.io/protobuf.js/BufferReader.html
kind regards
-
Updated
Feb 28, 2020 - Swift
To facilitate easier studying of these types of vulnerabilities the tool scaffolding should be able to instrument itself to generate ASCII diagrams of payload object-graphs (similar to this) and deserialization code execution call-trees (similar to [this](https://gist.github.com/frohoff/24af7913611f8406ea
-
Updated
Apr 13, 2020 - C#
I don't see a link in the README.md that lets people get to the docs that cover the API for this package... can that be added?
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
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
We should decide on KSerializer.equals (and hashCode) contract, document it and use internally as invariant everywhere.
Current sources of confusion:
- Generic serializers and their equality
Object.serializer() != Object.serializer()- Sealed classes serializer
TimestampSigner uses int(time.time()) to create timestamps, which will use the local timezone. However, it uses datetime.utcfromtimestamp to convert them into datetime objects, which will create naive datetime objects by interpreting the timestamp in the UTC timezone.
The fix should be to always write UTC timestamps. See [this StackOverflow question](https://stackoverflow.com/questions/
-
Updated
Apr 4, 2020 - PHP
I was trying to understand what protostuff-json does, but could not find any documentation, can you please help me understand what it does.
https://github.com/protostuff/protostuff/tree/master/protostuff-json
Binding C++ and JavaScript — WebIDL Binder and Embind
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#binding-c-and-javascript-webidl-binder-and-embind
// quick_example.cpp
#include <emscripten/bind.h>
using namespace emscripten;
float lerp(float a,
Bad link
-
Updated
Mar 5, 2020 - Java
The documentation at Sitepoint is actually very much explanatory than the "official" one at jsoniter
I suggest you include the Sitepoint link in the official [jsoniter](http://jsonit
-
Updated
Dec 9, 2018 - Python
-
Updated
Apr 7, 2020 - Go
Although there is already an attribute YamlMember, DataMember does not depend on Yaml, and allows one to have consistent serialized field names in YamlDotNet and System.Text.Json
Best regards.
-
Updated
Apr 12, 2020 - Go
-
Updated
Mar 28, 2020
Bincode has serialize_into which supports an arbitrary Writer, this would be very useful for RON as well, especially with BufWriter, because the data gets very large.
I'm seeing huge RAM spikes because of RON serialization: From ~90 MB baseline RAM usage to over 700 MB when it's serializing. Btw, the resulting ron file is 20 MB
Situation
When creating a package:
import quilt3
quilt3.config(default_remote_registry='s3://your-bucket')
p = quilt3.Package()
p.push("username/packagename")
The package name can be any string. In particular it may be e.g. fashion-mnist.
Why is it wrong?
I would like
-
Updated
Apr 6, 2020 - C++
Improve this page
Add a description, image, and links to the serialization topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the serialization topic, visit your repo's landing page and select "manage topics."
In serveral places in the C++ Reference, code formatting is broken. Search for
@code.message.h
text_format.h
[coded_stream.h](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.p