Comments (10)
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.
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.
This is a shame, I just came across this project, but lack of camelCasing is silly.
from jil.
I think case sensitivity is quite a big deal, most json libs support this feature.
from jil.
+1 for this feature
from jil.
+1 for this feature
from jil.
+1 for this feature
from jil.
+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.
+1
from jil.
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)
- Jil can't serialize this string
- Should Version 2.16 Have Been a Major Version?
- OutOfMemoryException HOT 1
- Can't edit Deserialized child Object
- Can't determine deserialized dynamic object type.
- Can I control the precision of decimals?
- Unexpected end of stream HOT 2
- Rejects valid JSON
- Deserialize crashes under .Net 5 HOT 2
- InvalidProgramException when serializing types containing JilPrimitiveWrappers
- Performance decrease when called from anonymous function
- [Deserialization] Exception: `Expected digit`
- Trying to add dll that Jil uses to the database like to CLR
- PlatformNotSupportedException HOT 1
- Using Jil with ASP.NET Core 6 HOT 1
- Class Not serialized
- Set package metadata
- Add additional TFM to eliminate dependency
- Does exist the possibility to serialize object to bytes array (as Utf8Json forexample)?
- Can not deserialize on .net 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jil.