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

A boolean value is not rendered when it is placed deeper than level-2 #145

Open
dakusui opened this issue Jul 20, 2020 · 1 comment
Open
Assignees

Comments

@dakusui
Copy link
Owner

dakusui commented Jul 20, 2020

This object results in an empty object {}.

{
  "key1": {
    "key2": {
      "key3": false
    }
  }
}

Following is rendered correctly.

{
  "key":{
    "booleanValue": true
  }
}
@dakusui dakusui self-assigned this Jul 20, 2020
@dakusui
Copy link
Owner Author

dakusui commented Jul 20, 2020

This issue is caused by a bug in the jq. (jqlang/jq#1163)
Workaround for now is to do

{
  "key1": {
    "key2": {
      "key3": "eval:boolean:false"
    }
  }
}

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