Skip to content
#

json-serialization

Here are 171 public repositories matching this topic...

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM

  • Updated May 31, 2020
  • C#
egdeliya
egdeliya commented Apr 24, 2020

Hi! Kind of really impressed with your library ❤️

But I have some issues with UnknownField null values. It is reproducible with the following test

func TestUnknownFieldsProxyNullField(t *testing.T) {
	baseJson := `{"Field1":"123","Field2":null}`

	s := StructWithUnknownsProxy{}

	err := s.UnmarshalJSON([]byte(baseJson))
	if err != nil {
		t.Errorf("UnmarshalJSON didn't expec
gdfast
gdfast commented Apr 30, 2018

I can see that ValidateReply() is called on a reply in RequestImpl.cpp's GetReply(Context&), and if the result's status_code falls outside of accepted range, the appropriate RequestFailedWithErrorException is thrown.

However, RequestFailedWithErrorException only includes the reply's HttpResponse, which may be excluding some very useful information. It would be really helpful if **

mankyKitty
mankyKitty commented Nov 6, 2018

The moveToKey function is a O(n) search from its current position to the desired key or an error from the end of the object. The succinct data structures make this incredibly fast and the movements are super efficient.

But how efficient this is remains to be measured. Create benchmarks for an increasing in size ordered key object and find out where we run into performance problems by lookin

Improve this page

Add a description, image, and links to the json-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 json-serialization topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.