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

Boolean and integer values are not serialized correctly. #6

Closed
GillesTourreau opened this issue Jan 11, 2021 · 1 comment · Fixed by #8
Closed

Boolean and integer values are not serialized correctly. #6

GillesTourreau opened this issue Jan 11, 2021 · 1 comment · Fixed by #8
Milestone

Comments

@GillesTourreau
Copy link
Contributor

When using the following YAML:

object:
   boolValue: true
   integerValue: 1234

The following JSON content is generated and the boolean and integer values are considered as string:

{
  "object": {
    "boolValue": "true",
    "integerValue": "1234"
  }
}
@GillesTourreau
Copy link
Contributor Author

After investigation this issue come from the YamlDotNet library issue : aaubry/YamlDotNet#289

@GillesTourreau GillesTourreau added this to the 1.0.1 milestone Jan 11, 2021
@GillesTourreau GillesTourreau linked a pull request Jan 15, 2021 that will close this issue
@GillesTourreau GillesTourreau removed a link to a pull request Jan 15, 2021
@GillesTourreau GillesTourreau linked a pull request Jan 15, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant