Questions tagged [utf8json]

Use this tag for question specifically about the Utf8Json library, a pretty Fast JSON Serializer for C#

As it's github's README says:

Definitely Fastest and Zero Allocation JSON Serializer for C#(.NET, .NET Core, Unity and Xamarin), this serializer write/read directly to UTF8 binary so boostup performance.

See the github page for benchmarks and usage guidance.

19 questions
0
votes
1 answer

Custom resolver with UTF8JSON

I did search on So but it looks like for this type of json serializer there isnt much info out there. I'm using original version since I need 4.5 NET target: https://github.com/neuecc/Utf8Json I have a custom object that needs custom…
KreonZZ
  • 175
  • 2
  • 10
0
votes
1 answer

How to catch remainder of JSON data that didn't match any POCO properties while using Elasticsearch Nest client and Utf8Json serializer

I'm using the C# Elastic Nest client to retrieve the data from the Elasticsearch. I have created a POCO class named IndexModel which corresponds to the index mapping of my "testing-index" index. I get all the data from the index using this search…
LilacBlue
  • 173
  • 1
  • 9
0
votes
0 answers

utf8json deserializing to multiple types based on marker field that does not come first

I have the following data: Unlike a similair question here: Utf8Json deserialize to type based on marker field the web service does not return the marker field (in the below case primaryExch) as the first item. Essentially i would like to utf8json…
morleyc
  • 2,169
  • 10
  • 48
  • 108
0
votes
0 answers

How to deserialize from a JSON-RPC websocket api response to the correct static type

The only way I could figure out what the JSON response could be deserialized to was to look for strings within the JSON to give me a hint on what it could be. This seems very hacky and hoping there is a better way. Given the 2 example JSON…
user3953989
  • 1,844
  • 3
  • 25
  • 56
1
2