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

Json: Error write #3

Closed
gladitop opened this issue Mar 8, 2020 · 3 comments
Closed

Json: Error write #3

gladitop opened this issue Mar 8, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@gladitop
Copy link
Owner

gladitop commented Mar 8, 2020

Google

When loading this json file

{
  "startProgram": true,
  "autoStart": false,
  "normalStart": true,
  "listServer": [
    {
      "nameServer": "Test",
      "ver": "1.0",
      "pathServer": "\n/user/lol",
      "descriptionServer": "des a server!"
    },
    {
      "nameServer": "Test 2",
      "ver": "2.0",
      "pathServer": "Tester2/lol",
      "descriptionServer": "2 des"
    }
  ]
}

This error is occurring: Unexpected character encountered while parsing value

@gladitop gladitop added the bug Something isn't working label Mar 8, 2020
@gladitop
Copy link
Owner Author

gladitop commented Mar 8, 2020

I found that the json file after restarting the program, it starts to align: null

@gladitop
Copy link
Owner Author

gladitop commented Mar 8, 2020

I changed the variables, but it writes null compared :(
This is a bad way 👎
I will do it on the console version for now

@gladitop
Copy link
Owner Author

gladitop commented Mar 8, 2020

There you just had to initialize each variable in var

@gladitop gladitop closed this as completed Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant