Coder Social home page Coder Social logo

Comments (10)

kevin-montrose avatar kevin-montrose commented on August 19, 2024

I'm really reluctant to add additional options to Jil, as each new option has to be accounted for in the typecache classes.

Jil already supports customizable names (via [DataMember] and [JilDirective]), which is hopefully sufficient for most cases. If not, then a more extensible JSON library (such as JSON.NET) would be a better choice for a project.

from jil.

mexx avatar mexx commented on August 19, 2024

Maybe the camelCase option could be provided as assembly wide attribute.
I have many classes currently serialized with camelCase, it would be simpler to add an attribute to the assembly as to edit all the properties on all classes.
Just a thought.

from jil.

phillip-haydon avatar phillip-haydon commented on August 19, 2024

This is a shame, I just came across this project, but lack of camelCasing is silly.

from jil.

jchannon avatar jchannon commented on August 19, 2024

I think case sensitivity is quite a big deal, most json libs support this feature.

from jil.

AlienEngineer avatar AlienEngineer commented on August 19, 2024

+1 for this feature

from jil.

liyongjing avatar liyongjing commented on August 19, 2024

+1 for this feature

from jil.

hallvar avatar hallvar commented on August 19, 2024

+1 for this feature

from jil.

NickCraver avatar NickCraver commented on August 19, 2024

+1 for this from me too. It'd eliminate a ton of code where this is used. Rather than an ever-increasing n attributes (as well as the need for plugin assemblies to have dependencies in a CoreCLR world), a Jil option controlling serialization globally would be much more optimal.

from jil.

razbensimon avatar razbensimon commented on August 19, 2024

+1

from jil.

Wazner avatar Wazner commented on August 19, 2024

For anyone reading this issue and hasn't looked at the pull requests yet.
There currently is a pull request that implements camelCasing.

See #154

from jil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.