Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about json-serialization

Read more about json-serialization

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - json-serialization

JSON Converter changing case of values in netcoreapp3.1 web api

I have an enum extension that allows for enums to be transformed into their [Description] value, as in: private enum WithDescription { [Description("Nothing")] None = 0, ...
test-img

Vic F

c#

asp.net-core-webapi

asp.net-core-3.1

system.text.json

json-serialization

Votes: 0

Answers: 0

test-img

Golang. Map to JSON, but preserve the key order

I've a map object and when it's serialized using json.Marshal(myMapObjct) the Golang sorts the keys in alphabetic order, which is causing issues on how the data is being processed. It's important to p...
test-img

ZARKONES

json

go

serialization

json-serialization

Votes: 0

Answers: 1

Latest Answer

As per suggestions I'm providing a different structure which fixes the code. type elem struct{ key, val string } type object []elem func (o object) MarshalJSON() (out []byte, err error) ...
test-img

ZARKONES

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved