Skip to content

config dump --format json provides an invalid JSON format #342

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

Closed
kittaakos opened this issue Aug 12, 2019 · 1 comment
Closed

config dump --format json provides an invalid JSON format #342

kittaakos opened this issue Aug 12, 2019 · 1 comment
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

Bug Report

Current behavior

arduino-cli config dump --format json

Provides an invalid JSON format.

proxy_type: auto
sketchbook_path: /Users/akos.kitta/Documents/Arduino
arduino_data: /Users/akos.kitta/Library/Arduino15
board_manager: {}

Expected behavior

I want to parse the result with JS, so I would expect a result that can be processed with:

JSON.parse(myOutput);

Environment

  • CLI version (output of arduino-cli version):
    arduino-cli Version: nightly-83 Commit: bd20ce6
  • OS and platform:
    macOS 10.14.6 (18G87)

Additional context

@masci masci self-assigned this Aug 13, 2019
@masci
Copy link
Contributor

masci commented Aug 28, 2019

This is fixed on master

@masci masci closed this as completed Aug 28, 2019
@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jan 24, 2022
@per1234 per1234 changed the title [config] config dump --format json provides an invalid JSON format config dump --format json provides an invalid JSON format Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants