I'm a Husband, Father & Engineer.
https://gist.github.com/mscribellito
.NET library for deserializing and serializing fixed width files
License: MIT License
I'm a Husband, Father & Engineer.
https://gist.github.com/mscribellito
Hello,
When using a char field with [TextField(__, 1)] attribute the parser considers spaces ' ' as empty '' and raises a format exception.
I'm currently using a custom formatter to avoid this.
Additionally, I liked the exception used on Custom Formatters and missed the exception when testing without custom, it would help troubleshot this kind of formatting errors because it points to the exact field that raised the exception.
Hello,
can you pass the TextFieldAttribute when calling Serialize or Deserialize on a custom formatter (ITextFormatter)?
Use-Case might be: custom formatter must know the lenght / decimal places of the TextField-Attribute.
Thanks for your feedback in advance.
Hello again,
When using the padding with zeros option (Padding = '0') to parse "00000" string it raises and exception of wrong string format. I believe this is due to parsing an empty string (all zeros were removed) into integer.
It would be very useful if formatters could have parameters so that, for example, an alternative BooleanFormatter could be created which could have the expected true and false values passed in as parameters, rather than only working for true = 1.
Currently this isn't possible, as the Formatter on TextField is internal.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.