Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Serialize scalar according to type field #169

Open
SadE54 opened this issue Apr 27, 2021 · 0 comments
Open

[Question] Serialize scalar according to type field #169

SadE54 opened this issue Apr 27, 2021 · 0 comments

Comments

@SadE54
Copy link

SadE54 commented Apr 27, 2021

Hi ,

Internally I have a class with a string property and a type property.
the string value is coming from a json file and can contain generic numeric value , with the type (bool , byte , integer , float) set by the type property .
How can I serialize the numeric value of the string according to the type , with a fixed length of 4 byte ?

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant