Comments (9)
So... is this being fixed? I see several pull requests for the fix but they all seem to have been closed without being merged and the issue still exists.
from exconstructor.
I have a similar issues as you.
I think that in addition to UpperCamelCase, other fields in this json map will not be parsed....
For example:
ImageID
--> image_url
, IPAddress
--> ip_address
Because they have Upper Case only for more than the first character.
So that is another separate issue. I don't think your Pull request addresses this issue?
Issue Description:
Parse upper case words
from exconstructor.
you're right, to better describe this i'll change issue name
from exconstructor.
sorry, I was a bit unclear... I think your original description was correct!
I'm going to create another issue for what I am referring to now.
from exconstructor.
ok, but I just thought at first that the problem only in the first letter but now I see that the problem is much wider and I think that is not so easy to solve it seemed to me at first
from exconstructor.
anronin, is it okay if I add my changes on top of yours... ie.. If my pull requests includes the changes in your branch?
Reason is that otherwise my tests will conflict with yours. (fieldNine) Instead I would prefer to move straight to field ten.
see here
from exconstructor.
no problem
from exconstructor.
Seems like PR is okay, can we get this merged in?
from exconstructor.
@sitch
I ended up making my own repository to find a solution to this.
Not sure if it's a good fit for what you are doing but you can find it here.
{:mapail, github: "stephenmoloney/mapail", branch: "master"}
I plan to publish it to hex but it needs a few changes for various reasons... hope to get it published over the next few months.
from exconstructor.
Related Issues (20)
- undefined function Mix.Utils.underscore HOT 2
- What's point of this library? HOT 2
- Is this safe to use with user input? HOT 2
- Support for nested structs HOT 2
- parse acronyms in jsons fields
- parsing acronyms HOT 2
- incorrect value assigned HOT 1
- Compilation deadlocks in my project when using exconstructor HOT 1
- Not checking if atom exists
- Handle nested constructors HOT 3
- Example inline usage for the docs HOT 1
- Feature request: produce (or deconstruct) HOT 2
- Does not work with @enforce_keys
- (option to) Use Kernel.struct!/2 to be stricter about making structs HOT 1
- Is the project still active ? HOT 2
- String.to_atom/1 would not exhaust potentially the atom table? HOT 1
- Error in readme example
- String.slice and ranges - changed behaviour in Elixir 1.16.0 HOT 1
- use ExConstructor position and main example
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 exconstructor.