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

Decompile handles JSON float values incorrectly #14323

Closed
anthony-c-martin opened this issue Jun 14, 2024 · 0 comments · Fixed by #14317
Closed

Decompile handles JSON float values incorrectly #14323

anthony-c-martin opened this issue Jun 14, 2024 · 0 comments · Fixed by #14317

Comments

@anthony-c-martin
Copy link
Member

Example:

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "metadata": {
    "_generator": {
      "name": "bicep",
      "version": "0.28.2.57042",
      "templateHash": "10760674796665414523"
    }
  },
  "resources": [],
  "outputs": {
    "test": {
      "type": "object",
      "value": {
        "val": 0.1
      }
    }
  }
}

Is decompiled to:

output test object = {
  val: '0.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant