RicoSuter / VisualJsonEditor

A JSON schema based file editor for Windows.
http://visualjsoneditor.org
MIT License
349 stars 87 forks source link

No valid document #27

Open ghost opened 6 years ago

ghost commented 6 years ago

thanks for the msi fix tried to load my json file, a list of entries like this:

[ { "servoName": "leftHand.thumb", "arduino": 0, "servoId": 0, "pin": 2, "minComment": "open", "maxComment": "close", "minDegrees": -120, "maxDegrees": 120, "autoDetach": 1000, "restDegrees": 0, "enabled": true, "servoType": "MG996R", "cableTerminal": 0, "wireColorArduinoTerminal": "", "wireColorTerminalServo": "" }, ... ] but get this error:

image

how can a string be too short? Are the empty strings a problem?

Juerg

RicoSuter commented 6 years ago

Please post the full schema and full json data.

RicoSuter commented 5 years ago

Yes, empty string has length 0 and might be too short

mariomurrent-softwaresolutions commented 4 years ago

I testes it with empty strings and it works like a charm :) Maybe the JSON schema is wrong?